Skip to content

Save schema to a file #119

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

Closed
wangwalton opened this issue Jan 22, 2021 · 2 comments
Closed

Save schema to a file #119

wangwalton opened this issue Jan 22, 2021 · 2 comments

Comments

@wangwalton
Copy link

wangwalton commented Jan 22, 2021

Hi is this currently possible? Can I access a serialized string of the schema in GraphQL SDL?

@Cito
Copy link
Member

Cito commented Jan 22, 2021

Try utilities.print_schema().

@wangwalton
Copy link
Author

Works great, thanks!

@Cito Cito closed this as completed Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants