Mathew Polzin
|
109e15d741
|
Add convenience method for default decoding of attributes. add tests for custom decoding and encoding as well as custom coding keys. add documentation.
|
2018-12-27 18:18:34 -08:00 |
|
Mathew Polzin
|
72180f64ef
|
clarify some things about computed attribute properties.
|
2018-12-27 16:27:10 -08:00 |
|
Mathew Polzin
|
52eb123166
|
update documentation
|
2018-12-22 13:57:38 -08:00 |
|
Mathew Polzin
|
bb1ed30e89
|
Rename Document.Body.primaryData to primaryResource
|
2018-12-12 20:04:14 -08:00 |
|
Mathew Polzin
|
8defe82536
|
Update README and linuxmain
|
2018-12-05 18:33:07 -08:00 |
|
Mathew Polzin
|
4f52cc2fd1
|
update README
|
2018-12-05 17:30:48 -08:00 |
|
Mathew Polzin
|
35d6cbb440
|
Add support for Relationship Meta and Links (untested)
|
2018-12-05 09:14:38 -08:00 |
|
Mathew Polzin
|
3a8237ec0f
|
Add test coverage for Meta and Links on Entity
|
2018-12-03 18:45:07 -08:00 |
|
Mathew Polzin
|
49e33baa96
|
give all top-level-ish headers the JSONAPI prefix
|
2018-12-03 18:14:05 -08:00 |
|
Mathew Polzin
|
f2a9b5a7b9
|
That should do the trick
|
2018-12-03 18:10:36 -08:00 |
|
Mathew Polzin
|
24baadd7a8
|
try to make headers unique
|
2018-12-03 18:09:40 -08:00 |
|
Mathew Polzin
|
8d18be6154
|
Update README after adding Meta and Links to Entity.
|
2018-12-03 18:04:53 -08:00 |
|
Mathew Polzin
|
7d0a686dd9
|
update linuxmain
|
2018-12-02 21:39:45 -08:00 |
|
Mathew Polzin
|
e4eb7816d7
|
Added an APIDescription type to Document that supports the JSON API Spec's JSON:API Object.
|
2018-12-02 21:35:09 -08:00 |
|
Mathew Polzin
|
5d666ec998
|
move entity validator (i.e. check function) section of project status into a TestLib subsection.
|
2018-12-01 09:58:07 -08:00 |
|
Mathew Polzin
|
9cacbe9b8b
|
Revamp project status section and remove old todo list items.
|
2018-12-01 09:55:31 -08:00 |
|
Mathew Polzin
|
6663ad042e
|
A cleanup and clarification pass at the README
|
2018-12-01 01:13:05 -08:00 |
|
Mathew Polzin
|
07402259c4
|
Add ability to specify that a SingleResourceBody should be optional or not (or specifically that its PrimaryResource is nullable or not). add tests. update documentation.
|
2018-12-01 00:36:39 -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
|
e67b9fc142
|
Update playground and README for computed attributes.
|
2018-11-28 09:20:50 -08:00 |
|
Mathew Polzin
|
cf47f88a61
|
Add tests to confirm that Entities can safely have computed attributes or relationships.
|
2018-11-28 08:15:57 -08:00 |
|
Mathew Polzin
|
a9ef71f383
|
indentation change
|
2018-11-27 17:15:15 -08:00 |
|
Mathew Polzin
|
8f36bb40e3
|
Add note about the library being a bit 'opinionated'
|
2018-11-27 14:04:53 -08:00 |
|
Mathew Polzin
|
55f2f52676
|
minor README change
|
2018-11-27 13:59:01 -08:00 |
|
Mathew Polzin
|
dd5f3b1737
|
Added check for nullable array attributes
|
2018-11-27 13:57:55 -08:00 |
|