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

Prefer using the arg delegate for enum args if its provided over the … #1579

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

cohansen
Copy link
Contributor

@cohansen cohansen commented Dec 17, 2024

…command dictionary values

Closes #1575 .

This code used to work as intended but was changed at some point, go back to preferring the enum values that come from the arg delegate if they exist, otherwise fallback to the command dictionary if none are provided for enum arguments.

@cohansen cohansen self-assigned this Dec 17, 2024
@cohansen cohansen requested a review from a team as a code owner December 17, 2024 21:47
Copy link
Collaborator

@joswig joswig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dandelany dandelany merged commit e9a346c into develop Dec 20, 2024
7 checks passed
@dandelany dandelany deleted the bug/enum-arg-delegate-ignored branch December 20, 2024 19:22
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.

Phoenix arg delegate sometimes ignored
3 participants