Skip to content

Allow to add optional args to fields implemented from interfaces #1493

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

Merged
merged 1 commit into from
Aug 29, 2018

Conversation

IvanGoncharov
Copy link
Member

I reviewed all isNonNullType calls and it the last one that needs to be fixed to complete #1274

Copy link
Contributor

@mjmahone mjmahone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single typo nit, but this is great. Thank you!

'field AnotherInterface.field.',
locations: [{ line: 11, column: 44 }, { line: 7, column: 9 }],
'Object field AnotherObject.field includes required argument ' +
'requiredArg that is missing it the Interface field ' +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'requiredArg that is missing from the Interface field '

`is of required type ${inspect(objectArg.type)} but is not also ` +
`provided by the Interface field ${iface.name}.${fieldName}.`,
`Object field ${object.name}.${fieldName} includes required ` +
`argument ${argName} that is missing it the Interface field ` +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

argument ${argName} that is missing from the Interface field

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mjmahone I'm grammatically challenged 😄
so I very appreciate your reviews 👍

@IvanGoncharov IvanGoncharov force-pushed the nonNullSchemaValidation branch from b5ac3d3 to 87fcec8 Compare August 29, 2018 22:12
@IvanGoncharov
Copy link
Member Author

@mjmahone Fixed.

@IvanGoncharov IvanGoncharov merged commit f4dee28 into graphql:master Aug 29, 2018
@IvanGoncharov IvanGoncharov deleted the nonNullSchemaValidation branch September 3, 2018 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants