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 was archived by the owner on Feb 17, 2024. It is now read-only.
I have a discriminated type, and certain properties, such as the discriminator value itself, may only accept a single valid value. There is a need to pass the value to identify the type, but there is only one allowed value. Ideally, we could have a constant facet that simply says, "this is the value you must pass"
Current workaround:
required value with an enum that has only one value in it.
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.
Use case:
I have a discriminated type, and certain properties, such as the discriminator value itself, may only accept a single valid value. There is a need to pass the value to identify the type, but there is only one allowed value. Ideally, we could have a constant facet that simply says, "this is the value you must pass"
Current workaround:
required value with an enum that has only one value in it.
The text was updated successfully, but these errors were encountered: