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

export all used enums even if they're in another schema #12

Open
mwotton opened this issue Jul 17, 2020 · 0 comments
Open

export all used enums even if they're in another schema #12

mwotton opened this issue Jul 17, 2020 · 0 comments

Comments

@mwotton
Copy link
Owner

mwotton commented Jul 17, 2020

when we use enums from another schema, they aren't going to be visible. as they're just type aliases, we should be able to generate them in both schemas.

this may cause some import problems at a higher level if a module wants to use both, but import FooSchema hiding (...) is a solution.

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

1 participant