Skip to content

Instantly share code, notes, and snippets.

@shailen-naidoo
Created April 20, 2019 11:43
Show Gist options
  • Save shailen-naidoo/55a23568b195ba73fd0fcbcdd95eb4f7 to your computer and use it in GitHub Desktop.
Save shailen-naidoo/55a23568b195ba73fd0fcbcdd95eb4f7 to your computer and use it in GitHub Desktop.
import { gql } from 'apollo-server-express';
import { DocumentNode } from 'graphql'
import Types from './types';
interface TypeQueryFields {
_: Types.BooleanNull
}
export const createTypeQuery = ({ _ }: TypeQueryFields): DocumentNode => gql`
type Query {
_: ${_}
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment