Skip to content

Commit

Permalink
entgql: avoid using cte queries for single node paths (ent#569)
Browse files Browse the repository at this point in the history
No need to limit per node, when a single node is returned in a path
  • Loading branch information
a8m authored and skeletal committed May 9, 2024
1 parent 5585216 commit ff3fb88
Show file tree
Hide file tree
Showing 20 changed files with 752 additions and 616 deletions.
165 changes: 94 additions & 71 deletions entgql/internal/todo/ent/gql_collection.go

Large diffs are not rendered by default.

117 changes: 45 additions & 72 deletions entgql/internal/todo/ent/gql_node.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 27 additions & 18 deletions entgql/internal/todo/ent/gql_pagination.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ff3fb88

Please sign in to comment.