kensho-technologies / graphql-compiler

Turn complex GraphQL queries into optimized database queries.
Apache License 2.0
553 stars 50 forks source link

Add edges defined by a composite join clause #998

Closed bojanserafimov closed 3 years ago

bojanserafimov commented 3 years ago

Allows us to define edges towards vertices with composite primary key and traverse those edges. Fold and recurse for composite traversals will not be implemented in this PR.

codecov[bot] commented 3 years ago

Codecov Report

Merging #998 (0005138) into main (34c968b) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #998      +/-   ##
==========================================
+ Coverage   94.33%   94.35%   +0.01%     
==========================================
  Files         113      113              
  Lines        9073     9100      +27     
==========================================
+ Hits         8559     8586      +27     
  Misses        514      514              
Impacted Files Coverage Δ
...r/schema_generation/sqlalchemy/edge_descriptors.py 98.24% <ø> (ø)
graphql_compiler/compiler/emit_sql.py 98.57% <100.00%> (+0.05%) :arrow_up:
...phql_compiler/compiler/ir_lowering_sql/__init__.py 100.00% <100.00%> (ø)
graphql_compiler/schema/schema_info.py 90.47% <100.00%> (+0.89%) :arrow_up:
...ql_compiler/schema_transformation/rename_schema.py 99.64% <100.00%> (-0.01%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8a3ffe2...0005138. Read the comment docs.