Skip to content

Instantly share code, notes, and snippets.

@jbaxleyiii
Created May 28, 2018 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbaxleyiii/1192d15d9ad15baab522bb93826801e2 to your computer and use it in GitHub Desktop.
Save jbaxleyiii/1192d15d9ad15baab522bb93826801e2 to your computer and use it in GitHub Desktop.
import gql from "graphql-tag";
export const UPLOAD_SCHEMA = gql`
mutation UploadSchema(
$id: ID!
$schema: IntrospectionSchemaInput!
$tag: String!
$gitContext: GitContextInput
) {
service(id: $id) {
uploadSchema(schema: $schema, tag: $tag, gitContext: $gitContext) {
code
message
success
tag {
tag
schema {
hash
}
}
}
}
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment