Commit Graph

14 Commits

Author SHA1 Message Date
Mathew Polzin 8114132189 Add attribute validation tests 2018-11-23 20:21:00 -08:00
Mathew Polzin 9802efd917 Add encoding to ResourceBody and test it 2018-11-16 18:21:37 -08:00
Mathew Polzin 696e434caa Mirror all decoding entity tests with encoding tests 2018-11-16 09:10:05 -08:00
Mathew Polzin 7bb5c9ac9f Add missing unidentified decoding tests 2018-11-16 08:23:36 -08:00
Mathew Polzin 7dce7b2299 Remove Id from EntityDescription, reducing the amount of repetetive and clunky boilerplate and allowing one simple typealias to remove Ids from consideration entirely when creating new Entity types. 2018-11-15 23:02:58 -08:00
Mathew Polzin 971e486cb1 update everything except for IdType to operate off of EntityType rather than EntityDescription. This feels much more natural. 2018-11-15 21:05:07 -08:00
Mathew Polzin ea85593655 Rename EntityType generics and associated types to EntityDescription 2018-11-15 17:24:17 -08:00
Mathew Polzin ee364216bb allow EntityDescription to decode nullable relationships 2018-11-15 17:16:16 -08:00
Mathew Polzin bf44c2fcdd Prepping for ToOneRelationships that have optional related types for use in situations where null is an acceptable relationship value. 2018-11-14 23:39:12 -08:00
Mathew Polzin fd82d5d7de Add ability to specify an Attribute needs to be transformed once it has been decoded. 2018-11-14 08:38:43 -08:00
Mathew Polzin 805ef4debe Support both attributes whose keys can be omitted and attributes whose values can be null. 2018-11-13 21:34:23 -08:00
Mathew Polzin ec37902819 Add some more documentation, remove unneded Foundation imports. 2018-11-13 01:08:23 -08:00
Mathew Polzin 2179f23dc7 Some cleanup and added documentation. 2018-11-12 22:24:54 -08:00
Mathew Polzin 34c82b135f Initial commit of files taken from a package started as part of another project. 2018-11-12 20:36:03 -08:00