You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Hi, I'm not sure if it's something I'm doing wrong, a bug or new feature. I'm seeing slow performance when querying/mutating nodes by an indexed id when the @authorization filter is on.
Describe the solution you'd like
Performance similar to without @authorization filter.
When authz is not included the query/mutation hits the index and returns a result very quickly.
Adding authz the generated cypher goes throught all the nodes to filter out and then only match the ID in the where.
Perhaps the filter can be applied to the nodes after the where part. With an option or similar?
Or is the generated cypher perhaps a bug?
Describe alternatives you've considered
Manually writing resolvers with cypher queries
Additional context
using neo4j 5.24 and neo4j/graphql v5.26.0
Here is an example of the structure
Is your feature request related to a problem? Please describe.
Hi, I'm not sure if it's something I'm doing wrong, a bug or new feature. I'm seeing slow performance when querying/mutating nodes by an indexed id when the
@authorization
filter is on.Describe the solution you'd like
Performance similar to without
@authorization
filter.where
part. With an option or similar?Describe alternatives you've considered
Manually writing resolvers with cypher queries
Additional context
using neo4j 5.24 and neo4j/graphql v5.26.0
Here is an example of the structure
Here is an example graphql and cypher query generated by neo4j-graphql.
The text was updated successfully, but these errors were encountered: