Open angelo-v opened 5 years ago
If I understand correctly, this has something to do with expansion / compaction, right?
Yes, a fix could look like what I did here: https://github.com/angelo-v/admin/commit/f3536daff20768a4a4aa81ce526bdf63e37ed098
But this is neither a complete fix, nor did I test it extensivly!
Expected behaviour
The admin tool can be used with any Hydra-conform API, that have the correct semantics.
Actual behaviour
The tool relies on specific JSON structures on some places, e.g collections need to have a property "hydra:member" on top level of the JSON structure. APIs with other namings or nesting in
@graph
fail. Same goes for "totalItems" and I suspect several other places.