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

creating a field named type shadows the json schema type #39

Closed
yanfali opened this issue Sep 9, 2016 · 1 comment
Closed

creating a field named type shadows the json schema type #39

yanfali opened this issue Sep 9, 2016 · 1 comment

Comments

@yanfali
Copy link
Contributor

yanfali commented Sep 9, 2016

So I accidentally created a field in a new schema called type and when it's converted to JSONSchema it masks out the "type" field with it's own value. @smyrman What's the correct way to deal with this other than to throw an error if we detect it?

@yanfali
Copy link
Contributor Author

yanfali commented Sep 9, 2016

Never mind, I mis-read my output :)

@yanfali yanfali closed this as completed Sep 9, 2016
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