Skip to content

Adds GraphQLError extensions #128

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

Conversation

NeedleInAJayStack
Copy link
Member

@NeedleInAJayStack NeedleInAJayStack commented Sep 6, 2023

This adds an extensions property to GraphQLError, resolving #127

It also makes other minor fixes, including changing expectation waits to avoid warnings and removing unused encoder cases that also produced warnings.

Due to formatting changes, it is probably easiest to review commit-by-commit.

This is a backwards-compatible minor change.

These can be removed because the other cases are there to support standard non-Map scalars. Since OrderedDictionary is already covered by Map.dictionary, we don't ever enter these cases.
Drops code climate integration
Copy link
Member

@paulofaria paulofaria left a comment

Choose a reason for hiding this comment

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

LGTM!

@NeedleInAJayStack NeedleInAJayStack merged commit c265770 into GraphQLSwift:main Sep 6, 2023
@NeedleInAJayStack NeedleInAJayStack deleted the feature/error-extensions branch September 6, 2023 21:05
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

Successfully merging this pull request may close these issues.

2 participants