Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

exports[`prints a schema without parsing tags and with legacy relations omitted 1`] = `
enum AnEnum {
_ASTERISK_BAR_
_ASTERISK_BAZ_ASTERISK_
_FOO_ASTERISK
ASTERISK
ASTERISK_ASTERISK
ASTERISK_ASTERISK_ASTERISK
Expand All @@ -20,6 +17,9 @@ enum AnEnum {
PERCENT
PUBLISHED
REJECTED
_ASTERISK_BAR_
_ASTERISK_BAZ_ASTERISK_
_FOO_ASTERISK
}

scalar AnInt
Expand Down Expand Up @@ -979,16 +979,16 @@ enum EdgeCasesOrderBy {
scalar Email

enum EnumCaps {
_0_BAR
BAR_FOO
BAZ_QUX
FOO_BAR
_0_BAR
}

enum EnumWithEmptyString {
_EMPTY_
ONE
TWO
_EMPTY_
}

"""
Expand Down Expand Up @@ -1183,36 +1183,6 @@ type FuncReturnsTableOneColEdge {
node: Int
}

"""An IPv4 or IPv6 host address, and optionally its subnet."""
scalar InternetAddress

"""
An interval of time that has passed where the smallest distinct unit is a second.
"""
type Interval {
"""A quantity of days."""
days: Int

"""A quantity of hours."""
hours: Int

"""A quantity of minutes."""
minutes: Int

"""A quantity of months."""
months: Int

"""
A quantity of seconds. This is the only non-integer field, as all the other
fields will dump their overflow into a smaller unit of time. Intervals don’t
have a smaller unit than seconds.
"""
seconds: Float

"""A quantity of years."""
years: Int
}

"""All input for the \`intSetMutation\` mutation."""
input IntSetMutationInput {
"""
Expand Down Expand Up @@ -1263,6 +1233,36 @@ type IntSetQueryEdge {
node: Int
}

"""An IPv4 or IPv6 host address, and optionally its subnet."""
scalar InternetAddress

"""
An interval of time that has passed where the smallest distinct unit is a second.
"""
type Interval {
"""A quantity of days."""
days: Int

"""A quantity of hours."""
hours: Int

"""A quantity of minutes."""
minutes: Int

"""A quantity of months."""
months: Int

"""
A quantity of seconds. This is the only non-integer field, as all the other
fields will dump their overflow into a smaller unit of time. Intervals don’t
have a smaller unit than seconds.
"""
seconds: Float

"""A quantity of years."""
years: Int
}

type Issue756 implements Node {
id: Int!

Expand Down Expand Up @@ -1355,6 +1355,17 @@ type Issue756SEdge {
node: Issue756!
}

"""Methods to use when ordering \`Issue756\`."""
enum Issue756SOrderBy {
ID_ASC
ID_DESC
NATURAL
PRIMARY_KEY_ASC
PRIMARY_KEY_DESC
TS_ASC
TS_DESC
}

"""All input for the \`issue756SetMutation\` mutation."""
input Issue756SetMutationInput {
"""
Expand All @@ -1379,24 +1390,13 @@ type Issue756SetMutationPayload {
query: Query
}

"""Methods to use when ordering \`Issue756\`."""
enum Issue756SOrderBy {
ID_ASC
ID_DESC
NATURAL
PRIMARY_KEY_ASC
PRIMARY_KEY_DESC
TS_ASC
TS_DESC
}

"""
A JavaScript object encoded in the JSON format as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSON

"""All input for the \`jsonbIdentityMutation\` mutation."""
input JsonbIdentityMutationInput {
"""All input for the \`jsonIdentityMutation\` mutation."""
input JsonIdentityMutationInput {
"""
An arbitrary string value with no semantic meaning. Will be included in the
payload verbatim. May be used to track mutations by the client.
Expand All @@ -1405,8 +1405,8 @@ input JsonbIdentityMutationInput {
json: JSON
}

"""The output of our \`jsonbIdentityMutation\` mutation."""
type JsonbIdentityMutationPayload {
"""The output of our \`jsonIdentityMutation\` mutation."""
type JsonIdentityMutationPayload {
"""
The exact same \`clientMutationId\` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
Expand All @@ -1420,19 +1420,18 @@ type JsonbIdentityMutationPayload {
query: Query
}

"""All input for the \`jsonbIdentityMutationPlpgsql\` mutation."""
input JsonbIdentityMutationPlpgsqlInput {
_theJson: JSON!

"""All input for the \`jsonbIdentityMutation\` mutation."""
input JsonbIdentityMutationInput {
"""
An arbitrary string value with no semantic meaning. Will be included in the
payload verbatim. May be used to track mutations by the client.
"""
clientMutationId: String
json: JSON
}

"""The output of our \`jsonbIdentityMutationPlpgsql\` mutation."""
type JsonbIdentityMutationPlpgsqlPayload {
"""The output of our \`jsonbIdentityMutation\` mutation."""
type JsonbIdentityMutationPayload {
"""
The exact same \`clientMutationId\` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
Expand All @@ -1446,9 +1445,9 @@ type JsonbIdentityMutationPlpgsqlPayload {
query: Query
}

"""All input for the \`jsonbIdentityMutationPlpgsqlWithDefault\` mutation."""
input JsonbIdentityMutationPlpgsqlWithDefaultInput {
_theJson: JSON
"""All input for the \`jsonbIdentityMutationPlpgsql\` mutation."""
input JsonbIdentityMutationPlpgsqlInput {
_theJson: JSON!

"""
An arbitrary string value with no semantic meaning. Will be included in the
Expand All @@ -1457,8 +1456,8 @@ input JsonbIdentityMutationPlpgsqlWithDefaultInput {
clientMutationId: String
}

"""The output of our \`jsonbIdentityMutationPlpgsqlWithDefault\` mutation."""
type JsonbIdentityMutationPlpgsqlWithDefaultPayload {
"""The output of our \`jsonbIdentityMutationPlpgsql\` mutation."""
type JsonbIdentityMutationPlpgsqlPayload {
"""
The exact same \`clientMutationId\` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
Expand All @@ -1472,18 +1471,19 @@ type JsonbIdentityMutationPlpgsqlWithDefaultPayload {
query: Query
}

"""All input for the \`jsonIdentityMutation\` mutation."""
input JsonIdentityMutationInput {
"""All input for the \`jsonbIdentityMutationPlpgsqlWithDefault\` mutation."""
input JsonbIdentityMutationPlpgsqlWithDefaultInput {
_theJson: JSON

"""
An arbitrary string value with no semantic meaning. Will be included in the
payload verbatim. May be used to track mutations by the client.
"""
clientMutationId: String
json: JSON
}

"""The output of our \`jsonIdentityMutation\` mutation."""
type JsonIdentityMutationPayload {
"""The output of our \`jsonbIdentityMutationPlpgsqlWithDefault\` mutation."""
type JsonbIdentityMutationPlpgsqlWithDefaultPayload {
"""
The exact same \`clientMutationId\` that was provided in the mutation input,
unchanged and unused. May be used by a client to track mutations.
Expand Down Expand Up @@ -1841,6 +1841,12 @@ type Mutation {
"""
input: Issue756SetMutationInput!
): Issue756SetMutationPayload
jsonIdentityMutation(
"""
The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
"""
input: JsonIdentityMutationInput!
): JsonIdentityMutationPayload
jsonbIdentityMutation(
"""
The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
Expand All @@ -1859,12 +1865,6 @@ type Mutation {
"""
input: JsonbIdentityMutationPlpgsqlWithDefaultInput!
): JsonbIdentityMutationPlpgsqlWithDefaultPayload
jsonIdentityMutation(
"""
The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
"""
input: JsonIdentityMutationInput!
): JsonIdentityMutationPayload

"""
@arg0variant base
Expand Down Expand Up @@ -3681,8 +3681,8 @@ type Query implements Node {
nodeId: ID!
): Issue756
issue756ById(id: Int!): Issue756
jsonbIdentity(json: JSON): JSON
jsonIdentity(json: JSON): JSON
jsonbIdentity(json: JSON): JSON

"""Reads a single \`LeftArm\` using its globally unique \`ID\`."""
leftArm(
Expand Down Expand Up @@ -4040,6 +4040,11 @@ type TypesMutationPayload {
query: Query
}

"""
A universally unique identifier as defined by [RFC 4122](https://tools.ietf.org/html/rfc4122).
"""
scalar UUID

"""All input for the \`updateCompoundKeyByPersonId1AndPersonId2\` mutation."""
input UpdateCompoundKeyByPersonId1AndPersonId2Input {
"""
Expand Down Expand Up @@ -4484,11 +4489,6 @@ type UpdatePersonSecretPayload {
query: Query
}

"""
A universally unique identifier as defined by [RFC 4122](https://tools.ietf.org/html/rfc4122).
"""
scalar UUID

type WrappedUrl {
url: NotNullUrl!
}
Expand Down
Loading