Skip to content

Got invalid value wrong interpretation #12

Closed
@syrusakbary

Description

@syrusakbary

Code in graphql-core
https://github.com/graphql-python/graphql-core/blob/master/graphql/execution/values.py#L71-L76

Code in graphql-core-next:
https://github.com/graphql-python/graphql-core-next/blob/master/graphql/execution/values.py#L96-L99

Graphql-core next leaks the inner Python representation of an object.

In general, after reviewing a lot of tests and code, there is a lot of usage of repr when it should be used just for debugging, not for uniform error messages.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions