Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow ValueTypeObject to be provided as a Partial#650

Merged
dhh merged 1 commit into
hotwired:mainfrom
marcoroth:value-type-object-partial
Feb 2, 2023
Merged

Allow ValueTypeObject to be provided as a Partial#650
dhh merged 1 commit into
hotwired:mainfrom
marcoroth:value-type-object-partial

Conversation

@marcoroth
Copy link
Copy Markdown
Member

This pull request allows ValueTypeObject to be provided as a Partial. Additionally, it adds some test cases for the functions used in value_properties.ts.

This is now valid:

static values = {
  id: { type: String }
}

Fixes #487

@marcoroth marcoroth force-pushed the value-type-object-partial branch from 226f985 to d4c9e7b Compare February 2, 2023 00:33
@dhh dhh merged commit 8217e9b into hotwired:main Feb 2, 2023
@marcoroth marcoroth deleted the value-type-object-partial branch February 2, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Make "default" optional in expanded form

2 participants