perf(neo4j): Improve currentUser read performance
Created by: Tirokk
Authored by roschaefer Merged
🍰 Pullrequest
This is a
- small refactoring, we want to keep all graphql in the frontend under
graphql
- performance improvement, because we don't query for expensive user counts and avoid N+1 queries
- hopefully a fix for our user who receives 504 timeout for
currentUser
query.
Issues
- fixes #3208 (closed)
Todo
-
None