Skip to content

Commit

Permalink
fix(example/graphql-yoga): default value
Browse files Browse the repository at this point in the history
  • Loading branch information
vicary committed Oct 13, 2022
1 parent 032b762 commit 993ec7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/graphql-yoga/graphql/Subscription/countdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { IFieldResolver } from "@graphql-tools/utils";

export const schema = /* GraphQL */ `
extend type Subscription {
countdown(from: Int!): Int!
countdown(from: Int = 3): Int!
}
`;

Expand Down

0 comments on commit 993ec7d

Please sign in to comment.