feat: multi-valued type support + modern test data (C41, C41b) - #1183
Merged
Conversation
8 new test cases: - Cross-version: d7 definitions vs 2019-09 $defs - $recursiveRef string comparison (2019-09) - $dynamicRef string comparison (2020-12) - 2019-09 if/then/else - dependentRequired member added/removed within key - 2020-12 composition (allOf/anyOf) - 2020-12 enum/const Total: 168 passing (21 modern/cross-version tests)
Multi-valued type (e.g. type: ["string", "number"]): - Compare as sets instead of flagging as unsupported - Types added = backward compatible, types removed = incompatible - integer/number normalization (integer is subset of number) - 6 new test cases (same types, added, removed, integer↔number, single↔multi, different order) Modern test data (C41): 8 additional test cases for cross-version definitions↔$defs, $recursiveRef, $dynamicRef, if/then/else, dependentRequired member changes, composition, enum/const. Total: 174 passing tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Context
C41 and C41b in #1042.
Test plan