Skip to content

context origin route name change causes issue registering schema #311

@marcodarko

Description

@marcodarko

Created a schema for MOVE but it has issues registering it.
https://github.com/biothings/biothings.schema/blob/master/MOVE/move_schema.jsonld

It didn't like me changing "view" to "ns" (new pattern for viewing schemas on DDE) in the context here:

works:
"niaid": "https://discovery.biothings.io/view/niaid/"

doesn't work:
"niaid": "https://discovery.biothings.io/ns/niaid/"

more context:
we visualize schemas using this route pattern:
https://discovery.biothings.io/ns/nde
used to be:
https://discovery.biothings.io/view/nde
we still accept both on the front-end but reroute to /ns

somewhere on the backend there's a place where we need to update this change and possibly get rid of this discrepancy.

Metadata

Metadata

Labels

being discussedbeing discussed for implementationbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions