Janko Luin
fc78958f76
Allow omitting relationships if all are optional
...
When all relationships are optional, the `relationships` key is also
optional and not required in the structure.
I'm not super happy with importing Foundation and creating new objects
any time a key is missing, but ultimately none of my attempts at
conditional generics worked out for me.
2019-07-02 17:02:55 +02:00
Mathew Polzin
f73ca8bc2c
Merge pull request #18 from mattpolzin/feature/match-jsonapi-naming
...
Feature/match jsonapi naming
0.30.0
2019-06-12 20:59:50 -07:00
Mathew Polzin
176eca3dce
Bump podspec version to 0.30.0
2019-06-12 20:57:14 -07:00
Mathew Polzin
4e0e44c45d
Update README after renaming. Rename test lib entity checker.
2019-06-12 20:15:07 -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
0.21.0
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
14bd29bf42
Update podspec in expectance of breaking change.
2019-04-18 22:37:58 -07:00
Mathew Polzin
cf4d8fc378
Update README.md
2019-04-16 22:39:33 -07:00
Mathew Polzin
10b756f6db
Update README.md
2019-04-16 22:37:35 -07:00
Mathew Polzin
4cd697aae4
Merge pull request #17 from mattpolzin/swift-5
...
Default to Swift version 5.0 and Swift Tools version 5.0
0.20.0
2019-04-16 22:35:11 -07:00
Mathew Polzin
db0f7329e4
Comment out playground code that is failing in Xcode 10.2
2019-04-16 22:11:09 -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
b1adc60719
Update package and podspec files
2019-04-16 21:52:50 -07:00
Mathew Polzin
423e61b285
Merge branch 'master' into swift-5
2019-04-16 21:42:17 -07:00
Mathew Polzin
895d575cdb
Fix indentation in README
2019-04-14 21:03:14 -07:00
Mathew Polzin
cd75e9649b
Update cocoapods version, update readme to mention cocoapods support.
0.19.0
2019-04-14 21:01:20 -07:00
Mathew Polzin
c60dfc1584
Testing out podspec
2019-04-14 20:49:59 -07:00
Mathew Polzin
16004051e9
Update language version to 5.0 and specify deployment targets for iOS and Mac OS.
2019-02-17 15:13:02 -08:00
Mathew Polzin
864a66f1ea
Merge remote-tracking branch 'origin/master' into swift-5
2019-02-17 14:43:19 -08:00
Mathew Polzin
abe16dda0d
A bit more clarification/correction
0.18.2
2019-02-07 18:56:22 -08: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
f7a81df451
Fix inaccuracy and add a bit of clarity to README section on Entity Ids.
2019-02-07 18:43:57 -08:00