Skip to content

Commit

Permalink
id is not optional
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Aug 28, 2023
1 parent bd7c360 commit c35bd2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/execution/IncrementalPublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export interface IncrementalDeferResult<
> {
errors?: ReadonlyArray<GraphQLError>;
data: TData;
id?: string;
id: string;
subPath?: ReadonlyArray<string | number>;
extensions?: TExtensions;
}
Expand All @@ -111,7 +111,7 @@ export interface FormattedIncrementalDeferResult<
> {
errors?: ReadonlyArray<GraphQLFormattedError>;
data: TData;
id?: string;
id: string;
subPath?: ReadonlyArray<string | number>;
extensions?: TExtensions;
}
Expand All @@ -122,7 +122,7 @@ export interface IncrementalStreamResult<
> {
errors?: ReadonlyArray<GraphQLError>;
items: TData;
id?: string;
id: string;
subPath?: ReadonlyArray<string | number>;
extensions?: TExtensions;
}
Expand All @@ -133,7 +133,7 @@ export interface FormattedIncrementalStreamResult<
> {
errors?: ReadonlyArray<GraphQLFormattedError>;
items: TData;
id?: string;
id: string;
subPath?: ReadonlyArray<string | number>;
extensions?: TExtensions;
}
Expand Down

0 comments on commit c35bd2c

Please sign in to comment.