Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJem committed Nov 4, 2024
1 parent 544ea69 commit 658d8c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/subgraphSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const generateTypes = async (url: string, filename: string): Promise<void
const codegenConfig = {
documents: [],
config: {
// This avoids having "Maybe<T>" in the generated types, which doesn't get translated into JSONSchema format correctly
maybeValue: "T | null | undefined",
},
filename: "",
Expand Down

0 comments on commit 658d8c3

Please sign in to comment.