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

SDL-based scaffolding: yoga scaffold my-schema.graphql #45

Open
schickling opened this issue Jan 28, 2019 · 2 comments
Open

SDL-based scaffolding: yoga scaffold my-schema.graphql #45

schickling opened this issue Jan 28, 2019 · 2 comments

Comments

@schickling
Copy link
Contributor

GraphQL SDL provides a very convenient way to define your GraphQL schema – especially when starting out with a new project. I think it could be interesting for Yoga to allow a "schema-first" scaffolding workflow by running yoga scaffold my-schema.graphql.

@wtrocki
Copy link
Contributor

wtrocki commented Jan 28, 2019

+💯 for this. Mentoned that couple times on other issues. This will enable smooth migration path. There will be couple corner cases here like when schema reffers to unknow scallars etc. but basic stuff should work almost out of the box.

@tgriesser
Copy link

Still WIP but putting something together around this in Nexus - https://nexus.js.org/converter

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

No branches or pull requests

3 participants