Replies: 3 comments 3 replies
-
👋 Just checking in here. Is this the ideal place to raise concerns? Thank you. |
Beta Was this translation helpful? Give feedback.
-
Just checking in here again. Seeking some guidance. |
Beta Was this translation helpful? Give feedback.
-
I'm having issues with const app = testkit.testModule(todosGraphqlModule);
expect(app.schema.getQueryType()).toBeDefined();
expect(app.schema.getMutationType()).toBeDefined();
const graphResult = await testkit.execute(app, {
document: gql`
query getTodo($id: ID!) {
id
title
}
`,
variableValues: {
id: 'someId',
},
});
console.log(graphResult); // output is: { data {} } Seems pretty simple. If I run the code in my app, the resolvers run as expected. But running this in Jest I always get But it isn't just |
Beta Was this translation helpful? Give feedback.
-
The team I am working with has been using
graphql-modules
project for almost a year (starting with V1 now on V2). We thank you and other committers for the efforts put in to the project. We have a concern regarding modularization and testing. In particular, when extending interfaces/types outside of a module's scope. We appreciate any insights you may have regarding our concern.Please see this PR for more context and example code: landau#1
Beta Was this translation helpful? Give feedback.
All reactions