Support dynamic alias for the root collection #489
Labels
bug
Something isn't working
D: API connectivity
Deliverable: API connectivity
FY25 Sprint 9
FY25 Sprint 9 (2024-10-23 - 2024-11-06)
GREI Re-arch
GREI re-architecture-related
Original size: 10
Size: 10
A percentage of a sprint. 7 hours.
SPA.Q4.10
Resolve TODOs and tech debt
In the Dataverse, the owner of a collection can change the alias and name of any collection, even the root collection. To retrieve the root collection, the API uses a keyword for the alias, ':root'. using this alias will return the always return the root collection, even if it has been modified.
In some places in our code, we assume that the alias of the root collection is 'root', so if the root collection is edited, the SPA getCollection() use case fails.
The text was updated successfully, but these errors were encountered: