@neo4j/graphql@5.3.6
版本发布时间: 2024-05-13 22:08:52
neo4j/graphql最新发布版本:@neo4j/graphql@5.7.0(2024-09-27 22:43:48)
Patch Changes
-
#5103
05d83b2
Thanks @angrykoala! - Optimise schema generation for aggregations, reducing schema generation time -
#5085
c82f7b8
Thanks @angrykoala! - Validation warning on objects without resolver only appear under env variableDEBUG=@neo4j/graphql:graphql
-
#5104
bcc3719
Thanks @angrykoala! - Add feature optionexcludeDeprecatedFields
to reduce the schema size by removing autogenerated fields that have been deprecated:Usage:
const neoSchema = new Neo4jGraphQL({ typeDefs, driver, features: { excludeDeprecatedFields: { bookmark: true, negationFilters: true, arrayFilters: true, stringAggregation: true, aggregationFilters: true, }, }, });
This flag will remove the fields marked as
@deprecated
that have been autogenerated by the@neo4j/graphql
library to reduce the schema size and hence server startup time and performance. Note that user-defined deprecated fields are not removed. Some autogenerated fields may still be generated, particularly those that do not affect schema size.