Created
April 20, 2019 11:43
-
-
Save shailen-naidoo/55a23568b195ba73fd0fcbcdd95eb4f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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