Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Strict null checks #31

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ScallyGames
Copy link
Contributor

@ScallyGames ScallyGames commented Jun 1, 2017

Handle the case when no query document is passed (assuming an error should be thrown).

Also enabled strictNullChecks to ensure comptibility with this compiler flag.

Feel free to provide feeback if this is not the wanted behaviour.

@Poincare
Copy link
Contributor

@stubailo Could you take a look at this when you have a bit of time? I can't review at the moment 👎

@lemccarthy
Copy link

I would greatly appreciate this being merged in, the error case is stopping me from being able to use this in my project.

Copy link

@clemens-tolboom clemens-tolboom left a comment

Choose a reason for hiding this comment

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

I just did PR #63 which is a one liner then realised I should have checked for other PR's.

This PR #31 has lot's of changed but also a 4-liner in src/network_interface/ApolloNetworkInterface.ts which is a better solution for the integrated / not standalone version.

Is it ok to take those lines into #63?

Next we can close this diverged patch with lots of unrelated (with respect to the issues title that is 😄) changes.

clemens-tolboom added a commit to clemens-tolboom/persistgraphql that referenced this pull request May 27, 2018
@clemens-tolboom
Copy link

I added the mentioned lines into PR #63. Hope that was OK 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants