This website requires JavaScript.
Explore
Help
Sign In
encounter
/
JSONAPI
Watch
0
Star
0
Fork
0
You've already forked JSONAPI
mirror of
https://github.com/encounter/JSONAPI.git
synced
2026-03-30 11:18:38 -07:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
8274ecb52336f6495fbdd19103d4df464af035d9
JSONAPI
/
Tests
/
JSONAPITests
T
History
Mathew Polzin
8274ecb523
Add tests confirming that initializers work as expected without using any TestLib conveniences
2018-11-30 23:56:18 -08:00
..
Attribute
Add ReversibleTransformer and tests. remove unneeded check in Entity.check().
2018-11-29 18:39:59 -08:00
Computed Properties
Make Attribute a Functor to make computed attributes easier to write.
2018-11-28 09:09:23 -08:00
Document
Renamed JSONAPIDocument to Document and created a protocol describing a JSONAPI Document.
2018-11-27 17:35:13 -08:00
Entity
Add tests confirming that initializers work as expected without using any TestLib conveniences
2018-11-30 23:56:18 -08:00
Includes
rename NoRelatives to NoRelationships to better pair with NoAttributes and NoLinks
2018-11-27 11:08:53 -08:00
JSONAPITestLib
Add TestLib ability to represent to-one relationships with the values of their IDs.
2018-11-29 11:31:17 -08:00
Links
Add some tests around documents with links.
2018-11-25 19:12:30 -08:00
Poly
better poly proxy tests
2018-11-29 20:10:56 -08:00
Relationships
Add a playground page to show off JSONAPITestLib and add nil literal expressibility to ToOneRelationship
2018-11-27 11:45:15 -08:00
ResourceBody
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
Test Helpers
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
XCTestManifests.swift
update linuxmain
2018-11-29 20:13:21 -08:00