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

filter objects in getter to only include known typenames #656

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@koenpunt

koenpunt commented Nov 5, 2018

This is a solution to the problem described here:

We have generated a Swift API for a schema that includes an interface.

When we now add an additional type that implements this interface to the server, the app crashes. This can of course be fixed by regenerating the api, but this doesn't help for apps already running on a user's device.
apollographql/apollo-ios#400

I'm not sure if this is the only place where this filtering has to be done, but this at least fixes it for our use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment