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 incorrect wrapping of pure values by some FieldWrappers #2162

Merged
merged 4 commits into from
Mar 15, 2024

Conversation

kyri-petrou
Copy link
Collaborator

Fixes #2161

The issue is that in case that a FieldWrapper exists which wraps pure values, all FieldWrappers will wrap pure values when the step is not a PureStep. This happens because our isStep method doesn't consider ObjectSteps and ListSteps that only contain pure values as "pure" steps

@kyri-petrou kyri-petrou changed the title I2161 Fix incorrect wrapping of pure values by some FieldWrappers Mar 15, 2024
@kyri-petrou kyri-petrou merged commit 47e92f9 into series/2.x Mar 15, 2024
10 checks passed
@kyri-petrou kyri-petrou deleted the i2161 branch March 15, 2024 15:42
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.

Having a single FieldWrapper(wrapPureValues=true) in API causes all FieldWrappers to wrap pure values
2 participants