8000 Various enum member followups by jedevc · Pull Request #10647 · dagger/dagger · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Various enum member followups #10647

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

jedevc
Copy link
Member
@jedevc jedevc commented Jun 26, 2025
edited
Loading

Follow-up to #9518.

@jedevc jedevc added this to the v0.18.12 milestone Jun 26, 2025
@jedevc jedevc force-pushed the fix-enums-followup branch from 3256957 to c5ea7b3 Compare June 26, 2025 13:07
jedevc added 2 commits June 26, 2025 14:40
This could happen on old dagger versions <=v0.18.10 when the enum name
was the same as the enum value.

Signed-off-by: Justin Chadwell <me@jedevc.com>
We need to resolve these in the typedef structure so that when we do
typedef introspection, the default values match the Names, not the
OriginalNames.

This also lets us simplify decoding the default args significantly
(which is what most of this patch updates).

Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc force-pushed the fix-enums-followup branch from c5ea7b3 to 1270c9c Compare June 26, 2025 14:39
@jedevc jedevc marked this pull request as ready for review June 26, 2025 14:41
@jedevc jedevc requested a review from helderco June 26, 2025 14:53
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.

1 participant
0