Closed bollwyvl closed 10 months ago
Thanks for this tool!
Motivated by https://github.com/graphql-kit/graphql-voyager/issues/238#issuecomment-1588570268, this strawman exports sdlToIntrospection.
sdlToIntrospection
A concrete use case for this is when a live server is not readily accessible, but an SDL is available.
A more sweeping approach would be to also ship an intermediate lib such that a downstream could:
lib
import { sdlToIntrospection } from 'graphql-voyager/lib/utils/sdl-to-introspection';
@bollwyvl you need to rebase. In version 2.0 the function is now sdlToSchema
sdlToSchema
@LunaticMuch thoughts?
@LunaticMuch Current changes are correct. Can you please merge it? @bollwyvl FYI
Hey, thanks a lot!
Thanks for this tool!
Motivated by https://github.com/graphql-kit/graphql-voyager/issues/238#issuecomment-1588570268, this strawman exports
sdlToIntrospection
.A concrete use case for this is when a live server is not readily accessible, but an SDL is available.
A more sweeping approach would be to also ship an intermediate
lib
such that a downstream could: