@neo4j/graphql@5.7.0
版本发布时间: 2024-09-27 22:43:48
neo4j/graphql最新发布版本:@neo4j/graphql@5.7.0(2024-09-27 22:43:48)
Minor Changes
Patch Changes
-
#5583
d35b00d
Thanks @angrykoala! - Deprecates top level arguments for nested operations on updates in favor of traversing the update argument. The deprecated arguments are:- create
- delete
- connect
- disconnect
- connectOrCreate
For example, for create:
deprecated
mutation UpdatePeople { updatePeople(create: { movies: { node: { title: "The Good" } } }) { people { name } } }
recommended
mutation UpdatePeople { updatePeople(update: { movies: { create: { node: { title: "The Good" } } } }) { people { name } } }
These deprecated arguments can be removed from the schema with the flag
nestedUpdateOperationsFields
inexcludeDeprecatedFields
:const neoSchema = new Neo4jGraphQL({ typeDefs, features: { excludeDeprecatedFields: { nestedUpdateOperationsFields: true, }, }, });
-
#5585
21c18ee
Thanks @mjfwebb! - Fix: standard JWT claim fields can now correctly be used even when a custom JWT payload is not defined. -
#5590
e95db9c
Thanks @angrykoala! - Fix subscriptions with autogenerated uids #5586