Skip to content
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

[Epic:.NET] Consider what the default value for OptionSet fields that are marked as required (also applies for the NodeJS generation) is #8582

Open
Tracked by #8336
mulygottlieb opened this issue May 31, 2024 · 0 comments

Comments

@mulygottlieb
Copy link
Member

mulygottlieb commented May 31, 2024

Currently there is no place in the UI for the user to specify the default value for entity fields that are marked as required fields. The default value is used for example when generating a DB migration that adds the field as a not nullable field.

This is true for all field types, but it is particularly important in OptionSet (enum) field types, where the user should be given the choice of a default value.

For now, in the dotnet DSG, we default to the first member of the enum until we decide otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant