Commit graph

15 commits

Author SHA1 Message Date
e43e27e2e1
Models rewrite with new API for better typings and extensibility. 2024-10-03 23:33:00 +02:00
498d25a909
Fix undefined date serialization. 2024-09-30 22:58:17 +02:00
9cb2bf1e5c
Fix undefined decimal type serialization. 2024-09-30 22:53:42 +02:00
d96c39d079
Allow undefined values in simple objects. 2024-09-28 17:18:12 +02:00
bb5eed5162
Add a simple object type and other improvements. 2024-09-28 17:02:52 +02:00
0876c59c98
Update library build and test configuration. 2024-09-28 15:13:22 +02:00
1c3c87a4a6 Architecture simplification: stop using decorators which adds unnecessary complexity and some compilation bugs.
+ Add a property definition class.
+ Add some definition functions on models, which have to be redefined when implementing a new model.
- Remove decorators.
2022-11-01 19:13:21 +01:00
dfecfd141c Fix array serializeDiff and resetDiff for null or undefined values. 2022-10-16 01:31:17 +02:00
cfbf74911b Fix ArrayType: support null or undefined values. 2022-10-16 01:20:25 +02:00
6f62b2d053 Add bool type and README improvements. 2022-09-18 19:47:38 +02:00
c6cdfc75ea Add type Date. 2022-09-18 19:28:18 +02:00
f7a200ecc7 Handle NULL values of models properties (= in ModelType). 2022-08-04 01:10:31 +02:00
598f7babcd Fix Model.serialize return type (void => any). 2022-08-03 14:24:12 +02:00
f8bbfe3b80 README rewrite with basic documentation. 2022-08-01 19:08:21 +02:00
ff1d55da78 Sharkitek base: model class and basic types dans behaviors. 2022-08-01 14:30:19 +02:00