You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify the arrayKeywords function to handle the uniqueItems tag as a flag.
Others
To ensure backward compatibility and that the old logic still works properly, it may be necessary to introduce new branches in the code to handle the new functionality.
If needed, I can submit a follow-up MR
The text was updated successfully, but these errors were encountered:
Current Behavior
Currently, the
uniqueItems
tag in the schema parsing function requires a value to be present, even though the value itself serves no actual purpose.This results in redundant code and unnecessary tag declarations.
For example, the current declaration looks like this:
Expected behavior
It should allow a more simplified version of the declaration:
Solution
Modify the
arrayKeywords
function to handle theuniqueItems
tag as a flag.Others
To ensure backward compatibility and that the old logic still works properly, it may be necessary to introduce new branches in the code to handle the new functionality.
If needed, I can submit a follow-up
MR
The text was updated successfully, but these errors were encountered: