Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
Make User.name optional
Browse files Browse the repository at this point in the history
This is the simplest fix for #396 I came up with.
But maybe `name` should be required, as in `flow-yoga` template?
  • Loading branch information
Nuno Vieira authored Jan 17, 2019
1 parent c8db211 commit b0f2bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphqlgen-templates/typescript-yoga/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export interface Context {

export interface User {
id: string
name: string | null
name?: string | null
postIDs: string[]
}

Expand Down

0 comments on commit b0f2bfb

Please sign in to comment.