summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_shape_test.idl
diff options
context:
space:
mode:
authorDavis Haupt <davis.haupt@mongodb.com>2023-05-04 12:57:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-04 15:10:40 +0000
commit4dd0a134d5ca678bfa6d1973bd4bf28b0ffc6baa (patch)
tree3cbfda395fcec3f4a192934359c008712ee1acca /src/mongo/db/query/query_shape_test.idl
parentb98740e2d27df0fa95632a1ac40adf140512e51c (diff)
downloadmongo-4dd0a134d5ca678bfa6d1973bd4bf28b0ffc6baa.tar.gz
Revert "SERVER-76208 support query shape serialization in IDL for types with custom serializers"
This reverts commit 1470c88daaa805408f083a1c2f7bb22f1632b5d1.
Diffstat (limited to 'src/mongo/db/query/query_shape_test.idl')
-rw-r--r--src/mongo/db/query/query_shape_test.idl24
1 files changed, 9 insertions, 15 deletions
diff --git a/src/mongo/db/query/query_shape_test.idl b/src/mongo/db/query/query_shape_test.idl
index ac5f4c6fce3..caea731e651 100644
--- a/src/mongo/db/query/query_shape_test.idl
+++ b/src/mongo/db/query/query_shape_test.idl
@@ -47,34 +47,28 @@ structs:
description: ""
fields:
stringField:
- query_shape: literal
+ query_shape_literal: true
type: string
enumField:
- query_shape: parameter
+ query_shape_literal: false
type: ExampleEnum
stringIntVariant:
- query_shape: literal
+ query_shape_literal: true
type:
variant: [string, int]
stringIntVariantEnum:
- query_shape: parameter
+ query_shape_literal: false
type:
variant: [string, int]
arrayOfInts:
- query_shape: literal
+ query_shape_literal: true
type: array<int>
fieldpath:
- query_shape: anonymize
+ query_shape_anonymize: true
type: string
fieldpathList:
- query_shape: anonymize
+ query_shape_anonymize: true
type: array<string>
- nss:
- query_shape: custom
- type: namespacestring
- plainNss:
- query_shape: parameter
- type: namespacestring
ParentStruct:
query_shape_component: true
@@ -82,8 +76,8 @@ structs:
description: ""
fields:
nested_shape:
- query_shape: literal
+ query_shape_literal: true
type: NestedStruct
nested_no_shape:
- query_shape: parameter
+ query_shape_literal: false
type: NestedStruct