Skip to content

Commit eca35cc

Browse files
committed
Add tests utilizing anyOf and oneOf with allOf
Signed-off-by: Alan Cha <[email protected]> Signed-off-by: getlarge <[email protected]>
1 parent 97e37f7 commit eca35cc

36 files changed

+2334
-143
lines changed

packages/openapi-to-graphql/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ The following logging levels are supported:
288288
- `preprocessing`: Logs information about preprocessing the OAS.
289289
- `translation`: Logs information about translating an OAS to GraphQL.
290290
- `http`: Logs information about the HTTP requests made to the API.
291+
- `pubsub`: Logs information about the PubSub subscribptions made to the API.
291292
292293
## Testing
293294

packages/openapi-to-graphql/lib/auth_builder.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ declare type Viewer = {
1717
* i.e. inside either rootQueryFields/rootMutationFields or inside
1818
* rootQueryFields/rootMutationFields for further processing
1919
*/
20-
export declare function createAndLoadViewer(queryFields: object, data: PreprocessingData, isMutation?: boolean): {
20+
export declare function createAndLoadViewer(queryFields: object, data: PreprocessingData, isMutation?: boolean, isSubscription?: boolean): {
2121
[key: string]: Viewer;
2222
};
2323
export {};

packages/openapi-to-graphql/lib/auth_builder.js

Lines changed: 23 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openapi-to-graphql/lib/auth_builder.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)