Skip to content

Commit 035608a

Browse files
authored
Merge pull request #24 from lukas-reineke/0.0.5-1
NO-TICKET no maybe
2 parents 9965920 + 61254b4 commit 035608a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

codegen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ config:
99
scalars:
1010
ObjectId: string
1111
NonEmptyString: string
12+
maybeValue: T
1213
hooks:
1314
afterAllFileWrite:
1415
- prettier --write

src/generated/graphql.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
2-
export declare type Maybe<T> = T | null;
2+
export declare type Maybe<T> = T;
33
export declare type RequireFields<T, K extends keyof T> = {
44
[X in Exclude<keyof T, K>]?: T[X];
55
} & {

src/generated/graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
GraphQLScalarType,
44
GraphQLScalarTypeConfig,
55
} from 'graphql';
6-
export type Maybe<T> = T | null;
6+
export type Maybe<T> = T;
77
export type RequireFields<T, K extends keyof T> = {
88
[X in Exclude<keyof T, K>]?: T[X]
99
} &

0 commit comments

Comments
 (0)