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

Bug: ConfigWriter minimizer does not omit nested unrequired nodes. #2058

Merged
merged 4 commits into from
Feb 22, 2024

Conversation

Caparow
Copy link
Contributor

@Caparow Caparow commented Jan 29, 2024

No description provided.

@pshirshov
Copy link
Member

This is not a bug, it's a fundamental limitation of our codec model. Current codecs cannot provide metadata w/o execution and even during execution they cannot trace all possible code paths because the structures are polymorphic. So, we can't solve this perfectly w/o complete rethinking of our codec model (which is the same as in circe/pureconfig).

@pshirshov pshirshov force-pushed the bug/config-minimizer-does-not-omit-nested-nodes branch from e81eb9f to 83c4730 Compare February 20, 2024 20:43
@pshirshov pshirshov merged commit 35366c8 into develop Feb 22, 2024
31 checks passed
@pshirshov pshirshov deleted the bug/config-minimizer-does-not-omit-nested-nodes branch February 22, 2024 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants