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

Sometimes generate integer-valued floating-point numbers for "type": "integer" #60

Closed
Zac-HD opened this issue Jul 16, 2020 · 1 comment

Comments

@Zac-HD
Copy link
Member

Zac-HD commented Jul 16, 2020

See master...integers-maybe-floats; blocked on upstream python-jsonschema/jsonschema#705 but otherwise working.

@Zac-HD
Copy link
Member Author

Zac-HD commented Jul 16, 2020

OK, turns out that this would not be correct behaviour under draft-04! Given that I really don't want to track schema versions around, I'm therefore inclined to abandon this feature.

The inverse, generating "number" values of Python type int, would I think be valid for all versions but also less fun.

@Zac-HD Zac-HD closed this as completed Jul 16, 2020
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