Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow distinguishing between null and absent values in gql_code_builder #381

Merged
merged 11 commits into from
Nov 12, 2023
Merged
1 change: 1 addition & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ jobs:
matrix:
package:
- end_to_end_test
- end_to_end_test_tristate
runs-on: ubuntu-latest
container:
image: dart
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions codegen/end_to_end_test/lib/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type Query {
# The mutation type, represents all updates we can make to our data
type Mutation {
createReview(episode: Episode, review: ReviewInput!, createdAt: Date): Review
createCustomField(input: CustomFieldInput!): CustomField
}

# The subscription type, represents all subscriptions we can make to our data
Expand Down Expand Up @@ -158,6 +159,11 @@ input ReviewInput {
seenOn: [Date]
}

input CustomFieldInput {
id: ID!
customField: CustomField
}

# The input object sent when passing in a color
input ColorInput {
red: Int!
Expand Down
Loading
Loading