mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
Co-authored-by: Harry Hopkinson <[email protected]> Co-authored-by: fisker Cheung <[email protected]>
61 lines
687 B
GraphQL
61 lines
687 B
GraphQL
query X($a: Int) @relay(meta: "{\"lowPri\": true}") { a }
|
|
|
|
"""abc"""
|
|
type T {
|
|
a: Int
|
|
}
|
|
|
|
"""
|
|
abc
|
|
"""
|
|
type T {
|
|
a: Int
|
|
}
|
|
|
|
"""
|
|
a
|
|
b
|
|
c
|
|
"""
|
|
type T { a: Int }
|
|
|
|
type Foo {
|
|
"""
|
|
This is a description
|
|
of the `one` field.
|
|
"""
|
|
one: Type
|
|
}
|
|
|
|
type Foo {
|
|
q("docs" field: String): Type
|
|
q("A long string of description of the field parameter to make this break" field: String): Type
|
|
q("""docs""" field: String): Type
|
|
}
|
|
|
|
enum Enum {
|
|
"""
|
|
Description of `one`
|
|
"""
|
|
one
|
|
}
|
|
|
|
input Input {
|
|
"""
|
|
Description of `one`
|
|
"""
|
|
one: string
|
|
}
|
|
|
|
{
|
|
foo(input: {multiline: "ab\ncd"}) { id }
|
|
}
|
|
|
|
{
|
|
foo(input: {multiline: """ foo """}) { id }
|
|
}
|
|
|
|
{
|
|
foo(input: {multiline: """ """}) { id }
|
|
}
|