-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Required property inside of allOf doesn't seem to be populated with populateAllDefaults #3832
Comments
This definitely looks like a bug, thanks for the report @MarekBodingerBA . I think this is a duplicate of #3599. Unfortunately, current maintainers' time is limited so we could use any help we could get on this issues. Would you be willing to investigate? |
I've managed to find the underlying issue. I've set up multiple console logs through the code. 2:
3:
For the correctly working schema:
it console logs:
As we can see, all If we nest the subschema containing
We can see the deeply nested As an easy fix, I tried to call What do you think @nickgros? |
Fixed in #3892. Thank you. |
Prerequisites
What theme are you using?
core
What is your question?
Hello,
in this case, I cannot find a reason why the property
fourth
is not populated. I had similar examples running correctly, but in this case I am not able to say what's the reason and our form logic heavily relies on this.Here is the code sample with the output:
https://runkit.com/marekbodingerba/64dd19e7e6504a0008fcb575
Playground link
Thank you for looking at it, it might be something simple that I am missing.
Marek
The text was updated successfully, but these errors were encountered: