Patrick Urbanke
|
395118de92
|
Rewrote the tests for flexbuffers
|
2023-12-03 20:03:00 +01:00 |
|
Patrick Urbanke
|
1382a2a505
|
Compile the JSON tests separately
|
2023-12-03 16:52:24 +01:00 |
|
Patrick Urbanke
|
1b7c95942b
|
Added compiler instructions for MSVC
|
2023-12-03 14:31:06 +01:00 |
|
Patrick Urbanke
|
f0945fdd27
|
Got rid of ugly warning
|
2023-11-29 20:42:51 +01:00 |
|
Patrick Urbanke
|
7038adb4f5
|
Updated the test for the tagged union
|
2023-11-29 19:55:10 +01:00 |
|
Patrick Urbanke
|
12528fe28b
|
Updated the flexbuffers tests
|
2023-11-29 19:54:58 +01:00 |
|
Patrick Urbanke
|
44af021371
|
Use a proper stack trace inside the tests
|
2023-11-28 20:07:24 +01:00 |
|
Patrick Urbanke
|
456fc33613
|
Added support for tagged unions without explicitly tagging the structs
|
2023-11-28 19:09:14 +01:00 |
|
Patrick Urbanke
|
abe7bd3546
|
Made sure that automatic field retrieval works in the context of tagged unions
|
2023-11-27 20:04:30 +01:00 |
|
Patrick Urbanke
|
ac244c082d
|
Added more features to the automated field name retrieval
|
2023-11-27 19:51:30 +01:00 |
|
Patrick Urbanke
|
7cdd1acc32
|
Treat numeric map types as keys; #14
|
2023-11-20 22:10:02 +01:00 |
|
Patrick Urbanke
|
d21782a8d8
|
Allow several conditions in the Validator, which will then be connected by AllOf
|
2023-11-18 22:49:18 +01:00 |
|
Patrick Urbanke
|
35904c584d
|
Made sure that validators can be used as keys
|
2023-11-18 22:22:29 +01:00 |
|
Patrick Urbanke
|
cfcc388480
|
rfl::Literal can now be used as a key in maps
|
2023-11-18 16:41:18 +01:00 |
|
Patrick Urbanke
|
f3cd5d04b4
|
Added struct flattening with tuple
|
2023-11-15 21:45:09 +01:00 |
|
Patrick Urbanke
|
642ba44c12
|
Merge branch 'main' of github.com:getml/reflect-cpp
|
2023-11-15 21:03:44 +01:00 |
|
Patrick Urbanke
|
d7e9cc7496
|
Add a flatten anonymous test for flexbuffers
|
2023-11-15 21:01:37 +01:00 |
|
Patrick Urbanke
|
23eaad1629
|
Added support for struct flattening in anonymous fields
|
2023-11-15 00:49:19 +01:00 |
|
liuzicheng1987
|
944155c905
|
Update README.md
|
2023-11-13 19:56:51 +01:00 |
|
liuzicheng1987
|
82204df756
|
Added README.md for the flexbuffers tests
|
2023-11-13 19:54:49 +01:00 |
|
Patrick Urbanke
|
992115c6a0
|
Added test_save_load for JSON
|
2023-11-12 20:51:00 +01:00 |
|
Patrick Urbanke
|
8d000e9db2
|
Added support for saving and loading
|
2023-11-12 20:41:15 +01:00 |
|
Patrick Urbanke
|
73ddc22063
|
Added second monster example
|
2023-11-12 18:38:51 +01:00 |
|
Patrick Urbanke
|
7e7691500f
|
Use rfl::Variant
|
2023-11-12 17:36:34 +01:00 |
|
Patrick Urbanke
|
a2c99ad37d
|
Added the monster example to the JSON tests
|
2023-11-12 17:03:31 +01:00 |
|
Patrick Urbanke
|
6097bdb1bf
|
Added the monster example
|
2023-11-12 16:46:56 +01:00 |
|
Patrick Urbanke
|
a68622e57f
|
Added tests for Ref, Box and custom constructors
|
2023-11-12 15:04:10 +01:00 |
|
Patrick Urbanke
|
470fa31142
|
Added tests for custom classes
|
2023-11-12 14:33:26 +01:00 |
|
Patrick Urbanke
|
d19a14e926
|
Added more tests for containers
|
2023-11-12 14:13:50 +01:00 |
|
Patrick Urbanke
|
629dd0c036
|
Added more tests
|
2023-11-12 00:08:56 +01:00 |
|
Patrick Urbanke
|
5efa9df16e
|
Added flexbuffers reader and writer as well as first test (but does not pass)
|
2023-11-11 23:16:49 +01:00 |
|
Patrick Urbanke
|
540af2d0cb
|
Merge branch 'main' of github.com:getml/reflect-cpp
|
2023-11-08 21:32:44 +01:00 |
|
Patrick Urbanke
|
63a9de90b3
|
Added thread-safe memoization
|
2023-11-08 21:32:31 +01:00 |
|
Patrick Urbanke
|
6d098ae36c
|
Fixed the validator so it can be supported as an anonymous field
|
2023-11-07 18:21:59 +01:00 |
|
Patrick Urbanke
|
1e11d26c8c
|
Added tests for the anonymous fields
|
2023-11-06 23:44:51 +01:00 |
|
Patrick Urbanke
|
f9a16641c9
|
Added support for parsing results
|
2023-11-05 11:38:33 +01:00 |
|
Patrick Urbanke
|
fd5ab423af
|
Updated test_readme_example
|
2023-11-03 22:30:02 +01:00 |
|
Patrick Urbanke
|
720c15762b
|
Use auto for the template parameters
|
2023-11-03 22:10:18 +01:00 |
|
Patrick Urbanke
|
fcaf2e8e23
|
Added size validation
|
2023-11-02 22:53:58 +01:00 |
|
Patrick Urbanke
|
197d5f2bf8
|
Added regex pattern validators
|
2023-11-02 22:26:44 +01:00 |
|
Patrick Urbanke
|
ba997272c7
|
Added OneOf
|
2023-11-02 20:02:34 +01:00 |
|
Patrick Urbanke
|
70b11650f8
|
Renamed to Minimum, Maximum, etc
|
2023-11-02 20:02:22 +01:00 |
|
Patrick Urbanke
|
815b9fc45d
|
Added AnyOf and more comparisons
|
2023-11-01 22:28:38 +01:00 |
|
liuzicheng1987
|
070169f4b2
|
Merge pull request #11 from jimixxperez/feature/validator
Feature/validator
|
2023-11-01 21:15:24 +01:00 |
|
Patrick Urbanke
|
92d2d92c74
|
Added the basic functionality for constrained numeric values
|
2023-10-31 20:11:54 +01:00 |
|
Jeremy Perez
|
62f60b1cf3
|
add missing include headers.
|
2023-10-27 13:13:08 +02:00 |
|
Jeremy Perez
|
8aa303285e
|
Merge branch 'main' into feature/validator
|
2023-10-27 13:07:49 +02:00 |
|
Jeremy Perez
|
b9a4542ea0
|
adapted test.
|
2023-10-27 13:07:03 +02:00 |
|
Jeremy Perez
|
a41f35ce84
|
adapted test.
|
2023-10-27 12:46:17 +02:00 |
|
Patrick Urbanke
|
4d967ccde2
|
Added support custom constructors with results
|
2023-10-25 20:23:16 +02:00 |
|