neo4j / graphql

A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations.
https://neo4j.com/docs/graphql-manual/current/
Apache License 2.0
496 stars 148 forks source link

Add `@unique` directive to v6 #5361

Closed MacondoExpress closed 1 month ago

MacondoExpress commented 1 month ago

Add @unique support in v6 branch.

Note: The constraintName is still optional and the getMissingConstraints still returns a default constraint name. Removed the assertIndexesAndConstraints test related to the @id directive as the @id directive is no longer relevant after the unique argument was moved outside the directive

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 7491d46eeb1279f4d37fd2b1b1ce421a81107677

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR