Closed jamesmacaulay closed 8 years ago
Not completely reviewed, but I like this. Do you have an idea of the effort around updating the client to support?
@minasmart I was just starting to look at that, I think it'll be pretty straightforward.
I like it.
my review was supposed to have this gif:
I guess image pasting doesn't support gifs.
I did a small refactor and then added the following commit, which I forgot to include in the original changeset:
This removes all filtering of types in the output. I think this makes sense, it means that the client always has an index of all possible base types that might come in the response. Now that the type info is so stripped down, this doesn't add much to the resulting payload: all the introspection types fit in ~100 LOC now, for example.
@minasmart and @mikkoh please review.
Implements a more minimal type bundle structure similar to the one described here:
https://github.com/Shopify/graphql-js-schema/issues/8#issuecomment-255872243
Please see the line-level comments for a guided tour :)