Closed mobsean closed 1 month ago
Many thanks for raising this bug report @mobsean. :bug: We will now attempt to reproduce the bug based on the steps you have provided.
Please ensure that you've provided the necessary information for a minimal reproduction, including but not limited to:
If you have a support agreement with Neo4j, please link this GitHub issue to a new or existing Zendesk ticket.
Thanks again! :pray:
We've been able to confirm this bug using the steps to reproduce that you provided - many thanks @mobsean! :pray: We will now prioritise the bug and address it appropriately.
Describe the bug Using @unique directive works for Int typed fields, but not for BigInt fields.
Type definitions
To Reproduce Steps to reproduce the behavior:
id: BigInt! @unique
toid: Int! @unique
and restart server@neo4j/graphql:execution Created 1 new constraint +58ms
Expected behavior
@unique should create constraints for every field type. espacially the supported types from docs
System (please complete the following information):
Additional context
this used to work in Version 3.x.x of this lib as expected.