Mathew Polzin
|
e09e3cd8ac
|
Finish renaming all things 'Entity' to 'ResourceObject'
|
2019-06-12 19:56:33 -07:00 |
|
Mathew Polzin
|
502f82ad14
|
Rename EntityProxy to ResourceObjectProxy and EntityType to ResourceObjectType.
|
2019-06-12 19:11:43 -07:00 |
|
Mathew Polzin
|
2bb238b092
|
Renamed EntityProxyDescription to ResourceObjectProxyDescription and EntityDescription to ResourceObjectDescription.
|
2019-06-12 19:07:21 -07:00 |
|
Mathew Polzin
|
8726bcc9fa
|
Update all references to JSONAPITestLib to reflect renaming
|
2019-01-13 18:35:20 -08:00 |
|
Mathew Polzin
|
69bb40aa00
|
Move JSONAPITestLib tests into their own test target.
|
2019-01-13 07:16:46 -08:00 |
|
Mathew Polzin
|
072b081ac3
|
Breaking - Rename static var type: String to static var jsonType:String to avoid unnecessary conflict with Swift.type(of:)
|
2019-01-02 19:35:50 -08:00 |
|
Mathew Polzin
|
d5a24c4adb
|
Split Attribute out into its own Type (no longer just a type alias to TransformedAttribute)
|
2018-12-29 23:07:14 -08:00 |
|
Mathew Polzin
|
d6e82fab55
|
get id and type tests into the encoded entity test function
|
2018-12-21 08:53:55 -08:00 |
|
Mathew Polzin
|
5fa9848f02
|
test some attribute encoding a bit further
|
2018-12-21 08:45:51 -08:00 |
|
Mathew Polzin
|
f38399a1d6
|
Add a bit of entity structure testing
|
2018-12-21 07:50:32 -08:00 |
|
Mathew Polzin
|
c9d388579f
|
Made it much more convenient to work with Non-EntityType relationships. Discovered and fixed a bug where nullable relationships were encoded incorrectly.
|
2018-12-08 19:48:10 -08:00 |
|
Mathew Polzin
|
8aa887b527
|
Add metadata and links to resource objects (i.e. Entity). untested.
|
2018-12-02 22:57:59 -08:00 |
|
Mathew Polzin
|
163ac94c51
|
I did some more type wrangling to finally get the Id type to specialize on Entity rather than EntityDescription. The compiler gets into trouble depending on which of a few semantically identical routes are taken, but I finally stumbled upon the correct combination of protocols and extensions to get the job done. this was always the ideal outcome, but I was not sure the Swift compiler would allow it.
|
2018-11-28 21:13:07 -08:00 |
|
Mathew Polzin
|
aedd5dc29b
|
Add Entity validation via a function in JSONAPITestLib.
|
2018-11-27 13:33:55 -08:00 |
|
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
|
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
|
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
|
ec37902819
|
Add some more documentation, remove unneded Foundation imports.
|
2018-11-13 01:08:23 -08:00 |
|