Skip to content

Make GraphQLResultError public#655

Merged
designatednerd merged 2 commits intoapollographql:masterfrom
p4checo:change/make-graphql-result-error-public
Jul 21, 2019
Merged

Make GraphQLResultError public#655
designatednerd merged 2 commits intoapollographql:masterfrom
p4checo:change/make-graphql-result-error-public

Conversation

@p4checo
Copy link
Copy Markdown
Contributor

@p4checo p4checo commented Jul 21, 2019

Motivation

Errors produced by Apollo SDK should be public so that clients can perform type safe error handling using pattern matching.

Errors produced by Apollo SDK should be public so that clients can
perform type safe error handling using pattern matching.
@apollo-cla
Copy link
Copy Markdown

@p4checo: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

Comment thread Sources/Apollo/GraphQLExecutor.swift Outdated
Following previous reasoning, it's useful to also expose the
`GraphQLResultError.underlying` error as public.
@designatednerd designatednerd merged commit ee248a6 into apollographql:master Jul 21, 2019
@p4checo p4checo deleted the change/make-graphql-result-error-public branch July 21, 2019 16:33
@designatednerd designatednerd added this to the 0.13.0 milestone Jul 22, 2019
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.

3 participants