-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update codegen and package generator #332
Conversation
pawelprazak
commented
Dec 14, 2023
•
edited
edited
- add codegen for provider config (fixes We are missing Config in codegen #259)
- add resource references (fixes Refer to other resources by reference instead of ID #144)
- fix dots in package segments in codegen
- fix deserialization of empty ObjectTypeDefinitionOrTypeReference
- resolve dependencies during package generation and publish
- disable bloop for packages
- use 32GB heap for package compilation
- uncomment two fixed codegen integration tests
ef02ff0
to
fb4ab5b
Compare
- fix deserialization of empty ObjectTypeDefinitionOrTypeReference - resolve dependencies during package generation and publish - disable bloop for packages - use 32GB heap for package compilation - uncomment two fixed codegen integration tests
- add stringEnumReader, booleanEnumReader, intEnumReader, doubleEnumReader to ConfigValueReader
fb4ab5b
to
fcfe0ea
Compare
- fix decoder for Boolean | String - add unionDecoders: - unionDecoder3 - unionDecoder4 - unionDecoder5 - unionDecoder6 - unionDecoder7 - unionDecoder8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM in regard to not throwing. Shared reservations about naive unionDecoders in private (basically that if A is a subset of fields of B it will parse correctly and win although the correct choice was B, has to be solved with a heuristic in codegen to always sort from types with the most fields to least fields).