Closed tokebe closed 1 year ago
@colleenXu I'm not sure if I'm generating the query quite correctly as I'm unable to replicate this exactly..Testing on my local, all edges have a primary knowledge source, though many of them are infores:pfocr
and there's also an infores:dgidb
. Posting the same query to the ARS though the ARAX UI, I get a validation error that one edge has been marked as having primary knowledge sourcenull
, which is obviously a problem.
Here's my test PK: 332b694c-4119-4a37-9585-d7fc0774563f
Note that the code to compare primary source from our API_LIST currently depends on the API_LIST name matching the operation api_name, which, given the occasional mismatch, is not the most reliable solution. I'm writing a PR now to change this over to smartapi ID comparison. We may wish to change this to infores at some point, given that that's supported -- we'd just need to add infores to every API in the list.
@tokebe I was noticing this behavior when querying the api-specific endpoints for APIs marked primarySource: true
.
Notes from today's group meeting:
Somewhat higher-priority as a bug, but not a fire / the most urgent Issue has linked PRs, showing that code was written and passed testing before. Unclear why it's not working now… JC has already updated the Translator Deadline Tracker
Leaving to JC
@tokebe probably can drop this issue because of the migration to TRAPI 1.4?
Yeah, I'd say we mark this one closed after the prod deployment, and the re-open if it comes up again.
Closing as TRAPI 1.4 is on Prod.
Noting:
edge-attributes
keyword in the response-mapping. So it's correct to close this issue as completed / not really relevant anymore
Creating an issue for proper organization of discussion:
_Originally posted by @colleenXu in https://github.com/biothings/biothings_explorer/issues/549#issuecomment-1512440646_