This repository was archived by the owner on Dec 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
This repository was archived by the owner on Dec 25, 2025. It is now read-only.
Invalid constraint directive definition #56
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingpackage:graphql-configRelated to @fabrix-framework/graphql-configRelated to @fabrix-framework/graphql-config
Description
Describe the bug
#36 introduced new type inputs that have invalid GraphQL syntax.
fabrix/packages/graphql-config/src/schema/constraint.graphql
Lines 1 to 30 in f781a97
| input FabrixFormConstraint { | |
| """ | |
| String | |
| """ | |
| minLength: Int | |
| maxLength: Int | |
| pattern: String | |
| format: String | |
| oneOf: [String] | |
| """ | |
| Int | |
| """ | |
| min: Int | |
| max: Int | |
| exclusiveMin: Int | |
| exclusiveMax: Int | |
| multipleOf: Int | |
| oneOf: [Int] | |
| """ | |
| Float | |
| """ | |
| min: Float | |
| max: Float | |
| exclusiveMin: Float | |
| exclusiveMax: Float | |
| multipleOf: Float | |
| oneOf: [Float] | |
| } |
Valid schema definition should have no duplicated field even if the type of it is different, but it was not well checked on CI, so accidentally merged.
Steps to reproduce
Use graphql-config
Expected behavior
N/A
Environment
N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpackage:graphql-configRelated to @fabrix-framework/graphql-configRelated to @fabrix-framework/graphql-config