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
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
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-configExpected behavior
N/A
Environment
N/A
Additional context
N/A