Skip to content
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

Incorrectly formatted error message. #750

Closed
nxtman123 opened this issue May 30, 2018 · 0 comments
Closed

Incorrectly formatted error message. #750

nxtman123 opened this issue May 30, 2018 · 0 comments

Comments

@nxtman123
Copy link
Contributor

The error message generated here is incorrect. It should be only_type._meta.name instead of graphene_type._meta.name. This way the expected value will be reported, which is what the message says it is.

).format(graphene_type._meta.name)

Also, it's better to use "a" instead of "an" as a default preposition in messages.

'Must receive an {} id.'

syrusakbary added a commit that referenced this issue May 31, 2018
Resolve #750 by editing assert message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant