[SERVER-30245] Extend JSON Schema parser to handle the type keyword containing an array of types Created: 20/Jul/17  Updated: 30/Oct/23  Resolved: 29/Aug/17

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

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

Issue Links:
Documented
is documented by DOCS-10734 Docs for SERVER-30245: Extend JSON Sc... Closed
Duplicate
is duplicated by SERVER-20718 $type should take an array of types t... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-07-31, Query 2017-08-21, Query 2017-09-11
Participants:

 Comments   
Comment by Githook User [ 29/Aug/17 ]

Author:

{'email': 'david.storch@10gen.com', 'username': 'dstorch', 'name': 'David Storch'}

Message: SERVER-30245 Add support for multiple types in JSON Schema 'type'/'bsonType' and in $type.

This change implements the 'type' and 'bsonType' JSON Schema
keywords accepting an array of type aliases. At the same
time, it adds support for an array of type aliases in the
$type match expression.
Branch: master
https://github.com/mongodb/mongo/commit/67f72740b1b93fb797d49397b207a03ec15afd5e

Comment by Githook User [ 17/Aug/17 ]

Author:

{'username': 'dstorch', 'email': 'david.storch@10gen.com', 'name': 'David Storch'}

Message: SERVER-30245 Add $_internalSchemaType.

This fixes a bug in the JSON Schema implementation in which
the type keyword did not behave correctly with arrays.
Branch: master
https://github.com/mongodb/mongo/commit/ecfdeb1bbe8979586bd841a07f47de748c1b4094

Comment by Githook User [ 10/Aug/17 ]

Author:

{'email': 'david.storch@10gen.com', 'name': 'David Storch'}

Message: SERVER-30245 Make ArrayMatchingMatchExpression inherit from PathMatchExpression.
Branch: master
https://github.com/mongodb/mongo/commit/0334cb2bf602ec0123594b59504b9b3e0a099899

Generated at Thu Feb 08 04:23:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.