Neo4j GraphQL Library 2.0.0-rc.2
Pre-release
Pre-release
Changes
- BREAKING CHANGE:
relationship
renamed toedge
in nested Mutations - see https://neo4j.com/docs/graphql-manual/2.0/type-definitions/relationships/#_inserting_data for examples (#389) - The minimum database version is now 4.1.5, and this is enforced by
checkNeo4jCompat
(#378) Neo4jGraphQLAuthenticationError
andNeo4jGraphQLForbiddenError
are now exported (#394)
Fixes
- An error is now thrown if
@auth
,@cypher
or@relationship
directives are used on an relationship property interface or its fields (#379, #381, #383) - Generated input types being used within custom input types will now pass validation of type definitions (#373)
- Custom scalars/enums now work as return values for custom Cypher fields (#390)
- Error thrown if reserved words used in type definitions (#396):
Node
andPageInfo
cannot be used as type/interfaces names, nor can names ending inConnection
cursor
andnode
cannot be used as relationship property fields
Notes
We apologise for making the breaking change from edge
to relationship
during this release candidate phase, but we felt that the consistency improvement across the schema was worth the tradeoff.