Skip to content
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

Add a cookbook showing how to re-export types #91

Open
popematt opened this issue Sep 20, 2022 · 0 comments
Open

Add a cookbook showing how to re-export types #91

popematt opened this issue Sep 20, 2022 · 0 comments
Labels
doc Documentation

Comments

@popematt
Copy link
Contributor

Sometimes you may have many schema files, but you want to have a single schema file that serves as the "entry point" to or a public API for the data model defined in the larger set of schemas. It is convenient to be able to do that without having to organize the rest of the schema around that one file.

One way to solve this problem is by creating a schema that doesn't define new types, but it "re-exports" existing types from various locations. This solution might not be obvious, and we should add a cookbook to demonstrate how to do it.

@popematt popematt added the doc Documentation label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation
Projects
None yet
Development

No branches or pull requests

1 participant