You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
A common use case for dates on a property is to default them to whatever the current date is. A classic example of this is a property representing the creation datetime of an object. It would be defaulted to whatever the current datetime is on the system for auditing purposes. There is no way to define such a default value today however, there is no keyword that is valid for the default value facet; only a datetime is legal.
Expectation: support similar functionality to the below:
SampleType:
properties:
creationDate?:
type:datetime-only
default: now
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A common use case for dates on a property is to default them to whatever the current date is. A classic example of this is a property representing the creation datetime of an object. It would be defaulted to whatever the current datetime is on the system for auditing purposes. There is no way to define such a default value today however, there is no keyword that is valid for the default value facet; only a datetime is legal.
Expectation: support similar functionality to the below:
The text was updated successfully, but these errors were encountered: