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

fix issues when attempting to export schemas #23

Merged
merged 1 commit into from
Dec 20, 2019
Merged

Conversation

ostrowr
Copy link
Owner

@ostrowr ostrowr commented Dec 20, 2019

If this library is used in projects with declaration: true, it was impossible to export a schema.

This was because the type wasn't explicitly specified in createSchema, and it seems impossible to do so while using a unique symbol.

This fixes the import issue at the cost of using a string instead of a unique symbol. I'd prefer to use a symbol.

@ostrowr
Copy link
Owner Author

ostrowr commented Dec 20, 2019

Fixes #22

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

Successfully merging this pull request may close these issues.

None yet

1 participant