Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ef8f5f
commit d7eba9d
Showing
11 changed files
with
614 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...Data.Filters.Tests/__snapshots__/FilterInputTypeTest.FilterInputType_ExplicitBinding.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
schema { | ||
query: Query | ||
} | ||
|
||
type Bar { | ||
baz: String! | ||
qux: String! | ||
} | ||
|
||
type Query { | ||
foo(where: BarFilterInput): Bar | ||
} | ||
|
||
input BarFilterInput { | ||
and: [BarFilterInput!] | ||
or: [BarFilterInput!] | ||
qux: StringOperationFilterInput | ||
} | ||
|
||
input StringOperationFilterInput { | ||
and: [StringOperationFilterInput!] | ||
or: [StringOperationFilterInput!] | ||
eq: String | ||
neq: String | ||
contains: String | ||
ncontains: String | ||
in: [String] | ||
nin: [String] | ||
startsWith: String | ||
nstartsWith: String | ||
endsWith: String | ||
nendsWith: String | ||
} | ||
|
||
"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text." | ||
scalar String |
36 changes: 36 additions & 0 deletions
36
...s.Tests/__snapshots__/FilterInputTypeTest.FilterInputType_ExplicitBinding_BindFields.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
schema { | ||
query: Query | ||
} | ||
|
||
type Bar { | ||
baz: String! | ||
qux: String! | ||
} | ||
|
||
type Query { | ||
foo(where: BarFilterInput): Bar | ||
} | ||
|
||
input BarFilterInput { | ||
and: [BarFilterInput!] | ||
or: [BarFilterInput!] | ||
qux: StringOperationFilterInput | ||
} | ||
|
||
input StringOperationFilterInput { | ||
and: [StringOperationFilterInput!] | ||
or: [StringOperationFilterInput!] | ||
eq: String | ||
neq: String | ||
contains: String | ||
ncontains: String | ||
in: [String] | ||
nin: [String] | ||
startsWith: String | ||
nstartsWith: String | ||
endsWith: String | ||
nendsWith: String | ||
} | ||
|
||
"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text." | ||
scalar String |
Oops, something went wrong.