·
3 commits
to dev
since this release
Minor Changes
-
#6003
2952820
Thanks @angrykoala! - Add count fields in aggregations with support for nodes and edges count:query { moviesConnection { aggregate { count { nodes } } } }
query { movies { actorsConnection { aggregate { count { nodes edges } } } } }
-
#5944
a6e9486
Thanks @angrykoala! - Add aggregate field in connection:query { moviesConnection { aggregate { node { count int { longest } } } } }
Patch Changes
-
#5999
47f915e
Thanks @angrykoala! - Deprecate aggregation fields (e.gactedInAggregate
) in favor of the fieldaggregate
inside the connection (e.gactedInConnection -> aggregate
) -
#5944
a6e9486
Thanks @angrykoala! - Deprecate old aggregate operations:query { moviesAggregate { count rating { min } } }
These fields can be completely removed from the schema with the new flag
deprecatedAggregateOperations
:const neoSchema = new Neo4jGraphQL({ typeDefs, features: { excludeDeprecatedFields: { deprecatedAggregateOperations: true } }, });