Skip to content

Commit 993ec7d

Browse files
committed
fix(example/graphql-yoga): default value
1 parent 032b762 commit 993ec7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/graphql-yoga/graphql/Subscription/countdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { IFieldResolver } from "@graphql-tools/utils";
22

33
export const schema = /* GraphQL */ `
44
extend type Subscription {
5-
countdown(from: Int!): Int!
5+
countdown(from: Int = 3): Int!
66
}
77
`;
88

0 commit comments

Comments
 (0)