Mathew Polzin
|
0144a2ee80
|
Remove prior experimentation with property wrappers -- feature was not baked when that experimentation was done.
|
2019-07-25 07:49:17 -07:00 |
|
Mathew Polzin
|
c7b97567a9
|
update swift tools version in package file, add some property wrappers, add some tests for wrappers. its all broken but worth holding onto for now.
|
2019-06-20 22:35:55 -07:00 |
|
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
|
491fe1fbea
|
clarifying name change in tests. update documentation around entity direct subscript accessor
|
2019-04-18 22:54:08 -07:00 |
|
Mathew Polzin
|
6b6f40c968
|
breaking change: change spelling of Entity subscript accessor that returns values of properties within Attributes without digging into the AttributeType. This change will make it possible for the compiler to unambiguously determine the type of subscript access being made before the value is stored, cast, or compared.
|
2019-04-18 22:40:12 -07:00 |
|
Mathew Polzin
|
fb710c397b
|
Entirely remove Result type that not only is unneeded with Swift 5 but also was not being used by this library (it was left over from before Poly became its own library). Fix a few redundent public warnings.
|
2019-04-16 21:56:49 -07:00 |
|
Mathew Polzin
|
5257fd79fa
|
Remove redundant public scoping on functions within public extensions. This becomes a warning with the Swift 5 compiler.
|
2019-02-07 18:49:58 -08:00 |
|
Mathew Polzin
|
8726bcc9fa
|
Update all references to JSONAPITestLib to reflect renaming
|
2019-01-13 18:35:20 -08:00 |
|
Mathew Polzin
|
fd9a626551
|
Ditch unused test constant.
|
2019-01-13 07:42:13 -08:00 |
|
Mathew Polzin
|
69bb40aa00
|
Move JSONAPITestLib tests into their own test target.
|
2019-01-13 07:16:46 -08:00 |
|
Mathew Polzin
|
b374367234
|
Move Poly into its own library.
|
2019-01-12 21:30:20 -08:00 |
|
Mathew Polzin
|
c04d3301b6
|
Add Meta-Relationship access.
|
2019-01-08 21:23:17 -08:00 |
|
Mathew Polzin
|
1d6e5d3810
|
Added Meta-Attribute support and documentation
|
2019-01-02 22:49:38 -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
|
897410492d
|
Add much more substantial example to README and mirror it in the included playground. Add convenient methods for adding includes to a Document. Make Poly less picky about what type of things it contains (don't need to be entities anymore). Typealias Either to Poly2 because they are isomorphic.
|
2019-01-02 17:14:58 -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
|
669d5d1342
|
Add ability to merge Document.Body.Data values
|
2018-12-28 19:11:24 -08:00 |
|
Mathew Polzin
|
923ab7d9f4
|
Add support for Poly8/Poly9 and Include8/Include9
|
2018-12-28 11:05:18 -08:00 |
|
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
|
fc962f9a0d
|
Lift the constraint that Attributes and Relationships are Codable for EntityProxies.
|
2018-12-24 07:05:35 -08:00 |
|
Mathew Polzin
|
4ef147ec45
|
Update linuxmain
|
2018-12-22 13:49:10 -08:00 |
|
Mathew Polzin
|
61074ecc69
|
Add methods that make it easy to copy an entity with a new ID or copy an unidentified entity and give it an ID
|
2018-12-22 13:41:34 -08:00 |
|
Mathew Polzin
|
4dbcff6023
|
Add another way to initialize a nullable attribute to the tests
|
2018-12-22 13:10:05 -08:00 |
|