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

Always writing 'scalar Date' on the beginning of schema #25

Open
FelipeCoimbra opened this issue Dec 28, 2018 · 1 comment
Open

Always writing 'scalar Date' on the beginning of schema #25

FelipeCoimbra opened this issue Dec 28, 2018 · 1 comment

Comments

@FelipeCoimbra
Copy link

Why does it have this behavior? Can we remove it?

@nevir
Copy link
Contributor

nevir commented Jan 9, 2019

This is to support uses of the JavaScript Date type—it needs to be special cased so that we're not walking all the built in fields of the Date interface.

Would definitely be interested in a patch that only emits that scalar Date line if you actually use a Date, though!

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