Mathew Polzin
|
2563edf419
|
Add subscript access to Poly types. Add empty test class for Poly type. Remove unneeded Foundation import. Small README change to read more clearly.
|
2018-11-23 08:49:55 -08:00 |
|
Mathew Polzin
|
98bb64268f
|
Split Include1 through Include6 off to a new file and a type I am calling Poly. This new type will allow me to use the same structures to represent polymorphic relationships.
|
2018-11-22 22:52:21 -08:00 |
|
Mathew Polzin
|
bf842bd781
|
Remove a couple unneeded Foundation imports that snuck in
|
2018-11-22 21:35:58 -08:00 |
|
Mathew Polzin
|
c4032eb351
|
Added meta data to JSONAPIDocument. Added tests around JSONAPIDocument error finally. Needs a few more tests around metadata.
|
2018-11-22 21:04:58 -08:00 |
|
Mathew Polzin
|
7a3a1b8b65
|
Round off CustomStringConvertible implementations to make print output a lot easier to read.
|
2018-11-20 07:27:28 -08:00 |
|
Mathew Polzin
|
23d057c47b
|
Adding more custom string convertible implementations to reduce the verbosity of printing to terminal. expose JSONAPIDocument.Include so that its constructor can be used.
|
2018-11-18 21:47:00 -08:00 |
|
Mathew Polzin
|
3327a93df5
|
Moved Examples.swift into a Playground, added some initialization code required to create entities and documents in code.
|
2018-11-18 17:47:26 -08:00 |
|
Mathew Polzin
|
072479c160
|
Move Transformer into its own class and add a Validator protocol based on Transformer
|
2018-11-18 15:49:06 -08:00 |
|
Mathew Polzin
|
032cf42c08
|
Add support for encoding JSONAPIDocument and add tests. Fix support for decoding null primary data for single resource document.
|
2018-11-16 23:59:49 -08:00 |
|
Mathew Polzin
|
04bd0421cd
|
Added encoding support to Includes and tests
|
2018-11-16 23:15:25 -08:00 |
|
Mathew Polzin
|
9802efd917
|
Add encoding to ResourceBody and test it
|
2018-11-16 18:21:37 -08:00 |
|
Mathew Polzin
|
2ae92cf33f
|
Add a bit more flavor to Examples.swift
|
2018-11-15 23:35:23 -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
|
7d3b04c719
|
Remove auto generated and other unneeded files, update linux main test file.
|
2018-11-12 21:59:21 -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 |
|