Skip to content

Commit 63e5593

Browse files
committed
fix: remove TrgmSearchInput type from snapshots (no longer registered without intentional search)
1 parent f08a328 commit 63e5593

2 files changed

Lines changed: 1 addition & 59 deletions

File tree

graphql/server-test/__tests__/__snapshots__/schema-snapshot.test.ts.snap

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -669,20 +669,7 @@ input StringFilter {
669669
}
670670
671671
"""
672-
Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold.
673-
"""
674-
input TrgmSearchInput {
675-
"""The text to fuzzy-match against. Typos and misspellings are tolerated."""
676-
value: String!
677-
678-
"""
679-
Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3.
680-
"""
681-
threshold: Float
682-
}
683-
684-
"""
685-
A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’
672+
A filter to be used against Boolean fields. All fields are combined with a logical 'and.'.’
686673
"""
687674
input BooleanFilter {
688675
"""

graphql/test/__tests__/__snapshots__/graphile-test.test.ts.snap

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,51 +1127,6 @@ based pagination. May not be used with \`last\`.",
11271127
"name": "StringFilter",
11281128
"possibleTypes": null,
11291129
},
1130-
{
1131-
"description": "Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold.",
1132-
"enumValues": null,
1133-
"fields": null,
1134-
"inputFields": [
1135-
{
1136-
"defaultValue": null,
1137-
"description": "The text to fuzzy-match against. Typos and misspellings are tolerated.",
1138-
"name": "value",
1139-
"type": {
1140-
"kind": "NON_NULL",
1141-
"name": null,
1142-
"ofType": {
1143-
"kind": "SCALAR",
1144-
"name": "String",
1145-
"ofType": null,
1146-
},
1147-
},
1148-
},
1149-
{
1150-
"defaultValue": null,
1151-
"description": "Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3.",
1152-
"name": "threshold",
1153-
"type": {
1154-
"kind": "SCALAR",
1155-
"name": "Float",
1156-
"ofType": null,
1157-
},
1158-
},
1159-
],
1160-
"interfaces": null,
1161-
"kind": "INPUT_OBJECT",
1162-
"name": "TrgmSearchInput",
1163-
"possibleTypes": null,
1164-
},
1165-
{
1166-
"description": "The \`Float\` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",
1167-
"enumValues": null,
1168-
"fields": null,
1169-
"inputFields": null,
1170-
"interfaces": null,
1171-
"kind": "SCALAR",
1172-
"name": "Float",
1173-
"possibleTypes": null,
1174-
},
11751130
{
11761131
"description": "Methods to use when ordering \`User\`.",
11771132
"enumValues": [

0 commit comments

Comments
 (0)