architect
architect copied to clipboard
Dynamically create API resource structures for related resources
This allows string based IDs, such as UUIDs, behave correctly. Closes #6
String based IDs are not supported as they are always cast [as an integer](https://github.com/esbenp/architect/blob/1719a25ca2f8cde1520bdb898c317f695b84e7b8/src/ModeResolver/IdsModeResolver.php#L33,L41). This breaks keys based with strings, such as UUIDs.
To check if a sideloaded resource already exists in the global scope, it should be allowed to check using something else than `id`
If a shared child already exists in the root object collection it will not be added again. How about shared children with pivot table data? Maybe save the pivot table...