Skip to content

refactor: handle one_of enum constraints in ash_type_to_nimble_options#2

Merged
pcharbon70 merged 1 commit intoagentjido:mainfrom
Munksgaard:handle-enums
Mar 18, 2026
Merged

refactor: handle one_of enum constraints in ash_type_to_nimble_options#2
pcharbon70 merged 1 commit intoagentjido:mainfrom
Munksgaard:handle-enums

Conversation

@Munksgaard
Copy link
Copy Markdown
Contributor

Ash.Type.Atom fields with one_of constraints are now converted to {:in, string_values} directly by ash_type_to_nimble_options, so all callers benefit from enum constraint handling automatically.

Ash.Type.Atom fields with one_of constraints are now converted to
{:in, string_values} directly by ash_type_to_nimble_options, so all
callers benefit from enum constraint handling automatically.
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

Successfully merging this pull request may close these issues.

2 participants