-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(mockServer): set preserveResolvers default to true #254
feat(mockServer): set preserveResolvers default to true #254
Conversation
packages/parrot-graphql/src/index.js
Outdated
@@ -14,8 +14,8 @@ | |||
|
|||
const { mockServer } = require('@graphql-tools/mock'); | |||
|
|||
module.exports = function graphql(path, schema, mocks) { | |||
const server = mockServer(schema, mocks); | |||
module.exports = function graphql(path, schema, mocks, path, schema, mocks, preserveResolvers = true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you've duplicated function params here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whelp that was embarrassing :P must have fat fingered something and should have properly setup public github on my work laptop.. updated in code editor this time..
also added an eslint disable for the new forth arg so it's backwards compatible for this small change
Thanks for reviewing Matt!
7cd7d3d
to
a95d272
Compare
Description
Motivation and Context
#253
How Has This Been Tested?
Tested locally with an OneApp module, but I'm unsure whether sharing screenshots of our local development screens in a public github PR breaches any American Express HR violation. I'm on Web and Mobile Slack!
Types of Changes
Checklist:
What is the Impact to Developers Using parrot?