-
-
Notifications
You must be signed in to change notification settings - Fork 313
Fix applicator meta-schema for unevaluatedProperties #883
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 applicator meta-schema for unevaluatedProperties #883
Conversation
Has this fallen through the cracks? I'm surprised no one has acknowledged this yet. It's pretty important that this get fixed. |
@jdesrosiers TBH I'm struggling to give a crap about anything tech-related right now. As for this, yikes, yeah that needs to be fixed. In theory, that should roll the meta-schema date to 2020-04, but we're also hoping to have a new draft out (@Relequestual is keeping that moving). This might arguably be a big enough bug to warrant replacing it in-place under 2019-09? idk, we didn't entirely sort out what the criteria are. @gregsdennis this is the sort of thing you've generally cared about, what do you think we should do here? I'm open to suggestion. |
Yikes! How did we miss this!? Given there's only two implementations (that we are aware of), and only ONE of them supports |
@jdesrosiers As an aside, I'm struggling to find time to get moving at the pace I'd like. I'm working from home, yet it feels like I have less spare time, and am pretty exhausted. I have a tiny human too. |
I'm good with this |
@jdesrosiers Given you're the other implementation, I am assuming you're OK with this change, and are happy to pick it up in your implementation too? If so, I'll make this happen as soon as I can. |
No implementations, I'm guessing? Are there any tests related to this? |
I'm not sure how you would test this. |
I'm going to just do this. If there are any consequences, we can handle them. |
Fix applicator meta-schema for unevaluatedProperties
Yep. In fact I'm already bundling the patched version in my implementation. It affects my implementation even though I don't have
The tests for |
Also, I'm sorry if my nudge came off as pushy. I know everyone is doing their best. I just wanted to make sure this didn't get lost. |
@jdesrosiers Not at all. I even encourage nagging via slack DM or mention! Allows me to easily create a reminder that way too. |
@jdesrosiers totally fine, my comment was intended just as an explanation of why I haven't been on top of things recently. |
There aren't in the suite, but the meta-schemas are supposed to be self-validating, so I have a few unit tests that check that. Unfortunately, this passes the self-validation because it's the |
While doing meta validation of the proposed OAS 3.1 meta-schema, I got an unexpected error that turned out to be caused by an error in the Draft 2019-09 applicator meta-schema for
unevaluatedProperties
. The OAS 3.1 meta-schema uses"unevaluatedProperties": false
, which failed meta-validation becausefalse
is not an object.