[SERVER-49444] Implement validation error generation for jsonSchema logical keywords Created: 10/Jul/20  Updated: 29/Oct/23  Resolved: 23/Sep/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.8.0

Type: Task Priority: Major - P3
Reporter: Mihai Andrei Assignee: Mihai Andrei
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-09-21, Query 2020-10-05
Participants:

 Description   

Implement validation error generation for the following jsonSchema operators:

  • allOf
  • anyOf
  • oneOf
  • not
  • enum

Note that oneOf is somewhat tricky in that if no clauses match, it should behave like a logical OR, but if more than one clause matches, then it should describe which clauses matched and why.



 Comments   
Comment by Githook User [ 24/Sep/20 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}

Message: SERVER-49444 Fix compile_no_archive by using stdx::variant instead of std::variant
Branch: master
https://github.com/mongodb/mongo/commit/b85cef30dd52fd24be7cdc2c3bdd263b68582184

Comment by Githook User [ 23/Sep/20 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}

Message: SERVER-49444 Implement validation error generation for jsonSchema logical keywords
Branch: master
https://github.com/mongodb/mongo/commit/10b0f02da33d62c992671e86ce882459f5a3184c

Generated at Thu Feb 08 05:19:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.