Skip to content

Conversation

marcoroth
Copy link
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