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

fix(codegen): abstract effect not propagated to union siblings #2493

Merged
merged 3 commits into from
Dec 21, 2024

Conversation

i10416
Copy link
Contributor

@i10416 i10416 commented Dec 21, 2024

fix #2492

@i10416 i10416 force-pushed the fix/adt-with-effect-codegen branch from 91c052c to 3cd261e Compare December 21, 2024 08:42
@i10416
Copy link
Contributor Author

i10416 commented Dec 21, 2024

@ghostdogpr Hello, thank you for maintaining this project. Could you be kind to review this change?

Copy link
Owner

@ghostdogpr ghostdogpr left a comment

Choose a reason for hiding this comment

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

Looks good!

tools/src/test/scala/caliban/tools/SchemaWriterSpec.scala Outdated Show resolved Hide resolved
@ghostdogpr
Copy link
Owner

ghostdogpr commented Dec 21, 2024

Thanks for fixing this! Not all edge cases and combinations have been tested. Will merge when the CI is green!

@ghostdogpr ghostdogpr merged commit 66816c0 into ghostdogpr:series/2.x Dec 21, 2024
10 checks passed
@i10416
Copy link
Contributor Author

i10416 commented Dec 21, 2024

ref: #2064

@i10416 i10416 changed the title fix: abstract effect not propagated to union siblings fix(codgen): abstract effect not propagated to union siblings Dec 26, 2024
@i10416 i10416 changed the title fix(codgen): abstract effect not propagated to union siblings fix(codegen): abstract effect not propagated to union siblings Dec 26, 2024
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.

bug: codegen generates incorrect types for sealed trait with lazy directive and abstractEffectType enabled
2 participants