Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Autodetect integer type vs long type using maximum/minimum rules #375

Closed
maksimlikharev opened this issue Jun 16, 2015 · 1 comment · Fixed by #434
Closed

Autodetect integer type vs long type using maximum/minimum rules #375

maksimlikharev opened this issue Jun 16, 2015 · 1 comment · Fixed by #434

Comments

@maksimlikharev
Copy link

there is not much slack for the long usage, you either force everything to it or use format "utc-millisec"

json schema provides hint,
"minimum" and "maximum"

would be nice to use it and generate data type appropriately.

@joelittlejohn joelittlejohn changed the title autodetect integer type Autodetect integer type vs long type using maximum/minimum rules Jun 16, 2015
@benjefferies
Copy link
Contributor

@joelittlejohn I have implemented the logic for this enhancement. I can raise a pull request to get this merged back in if you're happy with that. Have ran "mvn install" locally and all tests are passing including the tests I have added.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants