Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid constraint directive definition #56

Open
IzumiSy opened this issue Oct 29, 2024 · 0 comments
Open

Invalid constraint directive definition #56

IzumiSy opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@IzumiSy
Copy link
Member

IzumiSy commented Oct 29, 2024

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

@IzumiSy IzumiSy added the bug Something isn't working label Oct 29, 2024
@IzumiSy IzumiSy self-assigned this Oct 29, 2024
@IzumiSy IzumiSy changed the title [BUG] Invalid constraint directive definition Invalid constraint directive definition Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant