add relay environment

This commit is contained in:
João Geonizeli
2021-08-05 12:11:48 -03:00
parent 5048dea211
commit 1feaf5579e
10 changed files with 593 additions and 76 deletions

View File

@@ -0,0 +1,47 @@
"""
Autogenerated input type of CreateUser
"""
input CreateUserInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
user: UserAttributesInput!
}
"""
Autogenerated return type of CreateUser
"""
type CreateUserPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
"""
Errors encountered during execution of the mutation.
"""
errors: [String!]
success: Boolean!
}
type Mutation {
createUser(
"""
Parameters for CreateUser
"""
input: CreateUserInput!
): CreateUserPayload
}
type Query {
"""
An example field added by the generator
"""
testField: [String!]!
}
input UserAttributesInput {
firstName: String!
lastName: String!
}