Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dynamic alias for the root collection #489

Open
ekraffmiller opened this issue Sep 13, 2024 · 0 comments
Open

Support dynamic alias for the root collection #489

ekraffmiller opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working D: API connectivity Deliverable: API connectivity GREI Re-arch GREI re-architecture-related Size: 10 A percentage of a sprint. 7 hours.

Comments

@ekraffmiller
Copy link
Contributor

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.

@ekraffmiller ekraffmiller added bug Something isn't working GREI Re-arch GREI re-architecture-related Size: 10 A percentage of a sprint. 7 hours. D: API connectivity Deliverable: API connectivity labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working D: API connectivity Deliverable: API connectivity GREI Re-arch GREI re-architecture-related Size: 10 A percentage of a sprint. 7 hours.
Projects
Status: No status
Development

No branches or pull requests

1 participant