-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
Description
Since a couple of commits, users can search through external servers by adding aparents param in /search. However, right now searching for atomicdata.dev stuff will not work, because the server only knows of the default_store.json data, which does not include all parents (e.g. /collections or /properties).
We can solve this in a bunch of ways:
Add the parents to default_store.json
- Will be hard to keep in sync, can't change stuff in the browser
- Is fast and simple
Add a populate_parents command that recursively fetches parents
- Iterate over all external resources, see if you have their parents. If the parent misses, fetch them
Change how populate works - verify parent
- Seems more robust