Skip to content

Unable to search through atomicdata.dev resources locally #706

@joepio

Description

@joepio

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingserveratomic-server

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions