Commit graph

41 commits

Author SHA1 Message Date
Tobe O
711bcebc0b Reference external Typescript models 2018-05-15 15:50:12 -04:00
Tobe O
76129721f2 Complete @required support 2018-05-15 15:33:57 -04:00
Tobe O
058d9236b4 Add @required annotations in constructor 2018-05-15 15:16:46 -04:00
Tobe O
756a154551 Check for required fields 2018-05-15 15:11:12 -04:00
Tobe O
46d4c24f69 Force unmodifiable collections 2018-05-15 15:01:13 -04:00
Tobe O
21dc10de5a custom == 2018-05-13 14:02:47 -04:00
Tobe O
cf0a7eb652 Custom constructor excludes 2018-05-13 13:23:40 -04:00
Tobe O
d1da61ba64 Use abstract for immutable models 2018-05-13 12:50:59 -04:00
Tobe O
1ab858d658 Decode plain DateTime, also better TypeScript serialization 2018-03-30 14:53:38 -04:00
Tobe O
c02c95344c Nullable ts fields 2018-03-30 00:16:04 -04:00
Tobe O
ea88a84e5d 2.0.3, added typescript 2018-03-29 15:58:36 -04:00
Tobe O
7a93ebc833 TypeScript def builder 2018-03-29 12:14:22 -04:00
Tobe O
31006f54e2 Remove unnecessary named parameters 2018-03-09 07:45:03 -05:00
Tobe O
039f0b3443 Create a Fields class 2018-03-09 07:39:21 -05:00
Tobe O
779dc080be Fixed lists 2018-03-05 01:18:46 -05:00
Tobe O
9ccc406aa5 Bump to 2.0.0, modify README 2018-03-02 16:23:00 -05:00
Tobe O
43579da76a build.yaml 2018-03-02 14:49:47 -05:00
Tobe O
6aaa932195 Add canSerialize, deserialize to Exclude 2018-03-02 13:38:41 -05:00
Tobe O
2210cde81c fromMap 2018-02-27 21:10:43 -05:00
Tobe O
ea298d4362 Generate toJson() 2018-02-27 20:49:14 -05:00
Tobe O
92a6ea8c30 Serialize maps of models 2018-02-27 20:43:43 -05:00
Tobe O
b8ec1571d9 Serialize lists of models 2018-02-27 20:41:19 -05:00
Tobe O
ea1ee1f9d3 Serialize nested model class 2018-02-27 20:20:42 -05:00
Tobe O
236ef55230 Detect model class 2018-02-27 20:18:48 -05:00
Tobe O
acce9a4bb8 Fix bug where all natural fields were excluded 2018-02-27 20:12:56 -05:00
Tobe O
81e6263191 Basic toMap() 2018-02-27 20:10:57 -05:00
Tobe O
b5ca9c6d7b Only gen serializer if serializers are specifid 2018-02-27 19:59:43 -05:00
Tobe O
4319721ce3 Add auto* flags to BuildContext 2018-02-27 19:50:16 -05:00
Tobe O
53f6b468a5 Static serializer types, also autoIdAndDateFields, autoSnakeCaseNames 2018-02-27 19:46:35 -05:00
Tobe O
29ed032e61 Split main lib 2018-02-27 19:36:53 -05:00
Tobe O
36b24480b2 modelClassType 2018-02-27 15:03:58 -05:00
Tobe O
f10b8ab21b Named parameters in constructor 2018-02-27 14:57:05 -05:00
Tobe O
1fac0bfee0 Support generic types 2018-02-27 14:50:46 -05:00
Tobe O
c0d57bf8b1 Add final fields 2018-02-27 14:47:42 -05:00
Tobe O
50153dedf3 Added modelClassNameReCas 2018-02-27 14:42:06 -05:00
Tobe O
387f05009b More documentation 2018-02-27 14:22:30 -05:00
Tobe O
488934c485 BuildContext documentation 2018-02-27 14:20:39 -05:00
Tobe O
5956302d6f Upgrade dependencies, remove old generator class 2018-02-27 14:15:09 -05:00
thosakwe
79608562aa Works with new build runner, etc. 2017-09-14 20:36:28 -04:00
thosakwe
759ce7c59e +2 2017-09-14 20:20:36 -04:00
thosakwe
209feddb53 Restructured+Travis 2017-07-10 11:15:09 -04:00