-
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
Wrong allOf behaviour #2923
Comments
I tried to upgrade "contains": {
"required": [
"type"
],
"type": "object",
"properties": {
"type": {
"pattern": "(?=45e83143-f0f2-401b-b530-5965157d8e57)(?=52ea35ac-d8a0-4d6e-99b3-ee9a677c5579)"
}
}
}, which is completely wrong. The logic is "data should contain |
Co-authored-by: Sergey Alimov <sergey.alimov@gmail.com> Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> Fixes #2923
…am#3025) (rjsf-team#3227) Co-authored-by: Sergey Alimov <sergey.alimov@gmail.com> Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> Fixes rjsf-team#2923
…am#3025) (rjsf-team#3227) Co-authored-by: Sergey Alimov <sergey.alimov@gmail.com> Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> Fixes rjsf-team#2923
@AlimovSV Thanks for the reproduction link, I'll reopen this |
Any updates? |
@AlimovSV We are looking for help in fixing this. Is this something you feel comfortable doing? |
@heath-freenome Thank you! At the moment I have to use v4.2 and freeze any upgrades. |
Any updates? |
@AlimovSV only that we could use help fixing this. Do you feel comfortable with doing that? |
@heath-freenome Unfortunately, I have no idea how to fix this :( |
Please release a new version with a fix for this issue (PR already merged). |
@AlimovSV Whoops, sorry. Just released |
Prerequisites
What theme are you using?
core
Version
4.2.0
Current Behavior
Expected Behavior
Should be valid
Steps To Reproduce
Example
Schema
Data
Environment
Anything else?
jsonschema-merge-allof
that is merging allOf values into the schema:The text was updated successfully, but these errors were encountered: