omissis / go-jsonschema

A tool to generate Go data types from JSON Schema definitions.
MIT License
598 stars 95 forks source link

should integer be big.Int ? #34

Open aep opened 3 years ago

aep commented 3 years ago

jsonschema doesnt define a maximum length for the integer, so i do think it should be translated to big.Int

would PR, but mosts of the tests are failing.

mulho commented 2 years ago

Or at least int64 rather than int.

Larleyt commented 4 months ago

Upd here. Is there a possibility to force generate int64 instead of int32? Say, with CLI flags.