-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discriminator should be read-only #21154
Comments
Make discriminator read-only by default, but allow explicit configuration back to read-write. |
Note: after discussion with @ajcvickers the comment above does not mean "add an API on DiscriminatorBuilder which would call down and make the property read-write"; it means "rely on existing APIs to do that, whether that's Metadata API or some sugar we add later to allow any property to be set read-write if it is currently read-only, just don't implement this issue in such a way that it makes the discriminator's property never be settable to read-write". (Extra note: looks like we already have that sugar - see |
No description provided.
The text was updated successfully, but these errors were encountered: