Skip to content
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

Inferred-mode response merging: use more specific criteria for direct-edge handling #203

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

tokebe
Copy link
Member

@tokebe tokebe commented Aug 5, 2024

Addresses biothings/biothings_explorer#839

To use special direct edge handling, a template result must:

  • Be a direct-edge (single-hop) result
  • Bind an edge which is the type same as, or a descendant type of, the query edge
  • Satisfy at least one qualifier set of the query edge completely

@tokebe
Copy link
Member Author

tokebe commented Aug 5, 2024

Note that, regarding qualifiers, the result edge must have all qualifiers which the query edge has (and must be exact matches), however the result edge may also have additional qualifiers (thus being more specific than the query edge).

@tokebe tokebe merged commit e859586 into main Aug 6, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant