Olivier Chafik
84631fe150
json: support integer minimum, maximum, exclusiveMinimum, exclusiveMaximum (#7797)
* json: support minimum for positive integer values
* json: fix min 0
* json: min + max integer constraints
* json: handle negative min / max integer bounds
* json: fix missing paren min/max bug
* json: proper paren fix
* json: integration test for schemas
* json: fix bounds tests
* Update json-schema-to-grammar.cpp
* json: fix negative max
* json: fix negative min (w/ more than 1 digit)
* Update test-grammar-integration.cpp
* json: nit: move string rules together
* json: port min/max integer support to Python & JS
* nit: move + rename _build_min_max_int
* fix min in [1, 9]
* Update test-grammar-integration.cpp
* add C++11-compatible replacement for std::string_view
* add min/max constrained int field to pydantic json schema example
* fix merge
* json: add integration tests for min/max bounds
* reshuffle/merge min/max integ test cases
* nits / cleanups
* defensive code against string out of bounds (apparently different behaviour of libstdc++ vs. clang's libc++, can't read final NULL char w/ former)
2024-06-25 20:06:20 +01:00
..
2024-03-09 14:17:11 +02:00
2024-05-31 14:17:10 +03:00
2024-01-26 14:18:00 +02:00
2024-01-26 14:18:00 +02:00
2024-03-21 11:50:43 +00:00
2024-02-16 11:31:07 +02:00
2024-06-23 13:14:45 +02:00
2024-01-29 15:50:50 -05:00
2024-06-25 21:56:49 +10:00
2023-10-30 19:19:15 +02:00
2024-06-05 11:29:20 +03:00
2024-06-25 20:06:20 +01:00
2024-06-06 10:07:06 +01:00
2024-06-25 20:06:20 +01:00
2024-02-18 18:20:12 +02:00
2024-02-16 11:31:07 +02:00
2024-02-25 12:09:09 +02:00
2024-03-25 19:33:15 +02:00
2024-02-11 15:22:33 +02:00
2024-06-05 11:29:20 +03:00
2024-02-08 09:46:30 +01:00
2024-05-04 08:32:32 +03:00
2024-05-05 08:07:48 +03:00
2024-05-28 15:04:09 +03:00
2024-05-11 11:12:06 +03:00
2024-04-29 16:58:41 +03:00
2024-06-18 18:40:52 +02:00