Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Invalid constraint directive definition #56

Description

@IzumiSy

Describe the bug

#36 introduced new type inputs that have invalid GraphQL syntax.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpackage:graphql-configRelated to @fabrix-framework/graphql-config

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions