Skip to content

Commit 8e84e8d

Browse files
committed
Implement compatibility with latest V5 release
2 parents d1fae2c + 3d53131 commit 8e84e8d

26 files changed

+437
-317
lines changed

__tests__/integration/schema/__snapshots__/addConnectionFilterOperator.test.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,6 +2505,7 @@ type Filterable implements Node {
25052505
offset: Int
25062506
): FilterableComputedSetofIntConnection!
25072507
computedTaggedFilterable: Int
2508+
computedWithOptional(suffix: String): String
25082509
computedWithRequiredArg(i: Int!): Int
25092510
date: Date
25102511
@@ -2799,6 +2800,9 @@ input FilterableFilter {
27992800
"""Filter by the object’s \`computedTaggedFilterable\` field."""
28002801
computedTaggedFilterable: IntFilter
28012802
2803+
"""Filter by the object’s \`computedWithOptional\` field."""
2804+
computedWithOptional: StringFilter
2805+
28022806
"""Filter by the object’s \`date\` field."""
28032807
date: DateFilter
28042808

__tests__/integration/schema/__snapshots__/allowedFieldTypes.test.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@ type Filterable implements Node {
905905
offset: Int
906906
): FilterableComputedSetofIntConnection!
907907
computedTaggedFilterable: Int
908+
computedWithOptional(suffix: String): String
908909
computedWithRequiredArg(i: Int!): Int
909910
date: Date
910911
@@ -1187,6 +1188,9 @@ input FilterableFilter {
11871188
"""Filter by the object’s \`computedTaggedFilterable\` field."""
11881189
computedTaggedFilterable: IntFilter
11891190
1191+
"""Filter by the object’s \`computedWithOptional\` field."""
1192+
computedWithOptional: StringFilter
1193+
11901194
"""Filter by the object’s \`filterableClosuresByAncestorId\` relation."""
11911195
filterableClosuresByAncestorId: FilterableToManyFilterableClosureFilter
11921196

__tests__/integration/schema/__snapshots__/allowedOperators.test.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,6 +1344,7 @@ type Filterable implements Node {
13441344
offset: Int
13451345
): FilterableComputedSetofIntConnection!
13461346
computedTaggedFilterable: Int
1347+
computedWithOptional(suffix: String): String
13471348
computedWithRequiredArg(i: Int!): Int
13481349
date: Date
13491350
@@ -1638,6 +1639,9 @@ input FilterableFilter {
16381639
"""Filter by the object’s \`computedTaggedFilterable\` field."""
16391640
computedTaggedFilterable: IntFilter
16401641
1642+
"""Filter by the object’s \`computedWithOptional\` field."""
1643+
computedWithOptional: StringFilter
1644+
16411645
"""Filter by the object’s \`date\` field."""
16421646
date: DateFilter
16431647

__tests__/integration/schema/__snapshots__/arraysFalse.test.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,6 +1725,7 @@ type Filterable implements Node {
17251725
offset: Int
17261726
): FilterableComputedSetofIntConnection!
17271727
computedTaggedFilterable: Int
1728+
computedWithOptional(suffix: String): String
17281729
computedWithRequiredArg(i: Int!): Int
17291730
date: Date
17301731
@@ -2016,6 +2017,9 @@ input FilterableFilter {
20162017
"""Filter by the object’s \`computedTaggedFilterable\` field."""
20172018
computedTaggedFilterable: IntFilter
20182019
2020+
"""Filter by the object’s \`computedWithOptional\` field."""
2021+
computedWithOptional: StringFilter
2022+
20192023
"""Filter by the object’s \`date\` field."""
20202024
date: DateFilter
20212025

__tests__/integration/schema/__snapshots__/computedColumnsFalse.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,6 +2505,7 @@ type Filterable implements Node {
25052505
offset: Int
25062506
): FilterableComputedSetofIntConnection!
25072507
computedTaggedFilterable: Int
2508+
computedWithOptional(suffix: String): String
25082509
computedWithRequiredArg(i: Int!): Int
25092510
date: Date
25102511

__tests__/integration/schema/__snapshots__/defaultOptions.test.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,6 +2505,7 @@ type Filterable implements Node {
25052505
offset: Int
25062506
): FilterableComputedSetofIntConnection!
25072507
computedTaggedFilterable: Int
2508+
computedWithOptional(suffix: String): String
25082509
computedWithRequiredArg(i: Int!): Int
25092510
date: Date
25102511
@@ -2799,6 +2800,9 @@ input FilterableFilter {
27992800
"""Filter by the object’s \`computedTaggedFilterable\` field."""
28002801
computedTaggedFilterable: IntFilter
28012802
2803+
"""Filter by the object’s \`computedWithOptional\` field."""
2804+
computedWithOptional: StringFilter
2805+
28022806
"""Filter by the object’s \`date\` field."""
28032807
date: DateFilter
28042808

__tests__/integration/schema/__snapshots__/ignoreIndexesFalse.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@ type Filterable implements Node {
765765
offset: Int
766766
): FilterableComputedSetofIntConnection!
767767
computedTaggedFilterable: Int
768+
computedWithOptional(suffix: String): String
768769
computedWithRequiredArg(i: Int!): Int
769770
date: Date
770771
float4: Float

__tests__/integration/schema/__snapshots__/logicalOperatorsFalse.test.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,6 +2505,7 @@ type Filterable implements Node {
25052505
offset: Int
25062506
): FilterableComputedSetofIntConnection!
25072507
computedTaggedFilterable: Int
2508+
computedWithOptional(suffix: String): String
25082509
computedWithRequiredArg(i: Int!): Int
25092510
date: Date
25102511
@@ -2799,6 +2800,9 @@ input FilterableFilter {
27992800
"""Filter by the object’s \`computedTaggedFilterable\` field."""
28002801
computedTaggedFilterable: IntFilter
28012802
2803+
"""Filter by the object’s \`computedWithOptional\` field."""
2804+
computedWithOptional: StringFilter
2805+
28022806
"""Filter by the object’s \`date\` field."""
28032807
date: DateFilter
28042808

__tests__/integration/schema/__snapshots__/operatorNames.test.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,6 +2505,7 @@ type Filterable implements Node {
25052505
offset: Int
25062506
): FilterableComputedSetofIntConnection!
25072507
computedTaggedFilterable: Int
2508+
computedWithOptional(suffix: String): String
25082509
computedWithRequiredArg(i: Int!): Int
25092510
date: Date
25102511
@@ -2799,6 +2800,9 @@ input FilterableFilter {
27992800
"""Filter by the object’s \`computedTaggedFilterable\` field."""
28002801
computedTaggedFilterable: IntFilter
28012802
2803+
"""Filter by the object’s \`computedWithOptional\` field."""
2804+
computedWithOptional: StringFilter
2805+
28022806
"""Filter by the object’s \`date\` field."""
28032807
date: DateFilter
28042808

__tests__/integration/schema/__snapshots__/relationsTrue.test.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,6 +2505,7 @@ type Filterable implements Node {
25052505
offset: Int
25062506
): FilterableComputedSetofIntConnection!
25072507
computedTaggedFilterable: Int
2508+
computedWithOptional(suffix: String): String
25082509
computedWithRequiredArg(i: Int!): Int
25092510
date: Date
25102511
@@ -2799,6 +2800,9 @@ input FilterableFilter {
27992800
"""Filter by the object’s \`computedTaggedFilterable\` field."""
28002801
computedTaggedFilterable: IntFilter
28012802
2803+
"""Filter by the object’s \`computedWithOptional\` field."""
2804+
computedWithOptional: StringFilter
2805+
28022806
"""Filter by the object’s \`date\` field."""
28032807
date: DateFilter
28042808

0 commit comments

Comments
 (0)