Skip to content

Commit 2d05435

Browse files
committed
fix(cli): allow for not specifying query or mutation operations
1 parent 9b26c16 commit 2d05435

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cli/src/types/service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface RPCDocument<
99
> extends Omit<OASDocument<TComponents>, "openapi"> {
1010
yarpc: "1.0.0";
1111
operations: {
12-
queries: Record<string, QueryOperationObject>;
13-
mutations: Record<string, MutationOperationObject>;
12+
queries?: Record<string, QueryOperationObject>;
13+
mutations?: Record<string, MutationOperationObject>;
1414
};
1515
}

0 commit comments

Comments
 (0)