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

Update codegen and package generator #332

Merged
merged 9 commits into from
Jan 12, 2024
Merged

Conversation

pawelprazak
Copy link
Collaborator

@pawelprazak pawelprazak commented Dec 14, 2023

@pawelprazak pawelprazak added kind/cleanup Resolving TODO/FIXME/HACK and other technical debt area/codegen Schema to code generator impact/no-changelog-required This issue doesn't require a CHANGELOG update labels Dec 14, 2023
@pawelprazak pawelprazak added this to the 0.2.0 milestone Dec 14, 2023
@pawelprazak pawelprazak added kind/missing We are missing a part of functionality compared to upstream and removed impact/no-changelog-required This issue doesn't require a CHANGELOG update labels Dec 14, 2023
- 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
Justfile Outdated Show resolved Hide resolved
pawelprazak and others added 4 commits January 11, 2024 11:25
- fix decoder for Boolean | String
- add unionDecoders:
  - unionDecoder3
  - unionDecoder4
  - unionDecoder5
  - unionDecoder6
  - unionDecoder7
  - unionDecoder8
Copy link
Collaborator

@lbialy lbialy left a 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).

@pawelprazak pawelprazak merged commit 8a83c5b into develop Jan 12, 2024
2 checks passed
@pawelprazak pawelprazak deleted the pprazak/update-codegen branch January 12, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/codegen Schema to code generator kind/cleanup Resolving TODO/FIXME/HACK and other technical debt kind/missing We are missing a part of functionality compared to upstream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

We are missing Config in codegen Refer to other resources by reference instead of ID
2 participants