-
Notifications
You must be signed in to change notification settings - Fork 11
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
refactoring "records" to help test results-assembly #402
Comments
also regarding testing results-assembly: Jackson's code of running queries and checking: https://suwulab.slack.com/archives/CC218TEKC/p1643749685831709
|
Just want to note that once the vocab refactor is done we'll be in a pretty good spot to take a look at this. Records basically come into existence from There may be some work to do in the |
I agree that the vocab refactor will help us understand what's going on. I believe @marcodarko and @ariutta have previously been thinking about this and trying things out. But their attempt didn't fully work... |
If the methods with input |
This is definitely the general idea -- the main addition to this I would like to consider is possibly refactoring the internal data structure of a Record -- both to conform to new vocab standards and to avoid the current cyclic references in parts of the record object (or at least mitigate this as a problem during serialization/"rehydration"). |
That sounds great |
Would |
(edit: clarification) I think, given the cyclic references, we'll need a modified structure to output to that can circumvent these references (which can later be rebuilt). So I agree that |
Yeah, The cyclic references are tricky. That's where @marcodarko and I ran into trouble earlier. |
Below is the general interface for a
Most of these values are actually pulled from the Meanwhile, in internal cases like caching, a much more minimal set can be frozen, with often-repeated parts like the As it happens, the cyclic reference problem is not really an issue -- we don't need to reference one record through the |
Closing as this has been addressed by biothings/api-respone-transform.js/pull/29 and related. |
Related to this issue?
|
We've tried working on this with biothings/bte_trapi_query_graph_handler#88, but put it aside in order to get its fixes deployed
related to #379 and a long-term effort to get "power users" like Colleen able to write tests for module-behavior and for overall-behavior.
The text was updated successfully, but these errors were encountered: