Created
May 15, 2019 20:54
-
-
Save conorhastings/5274d78e2ed91ca6e6506196f91b765e to your computer and use it in GitHub Desktop.
This file contains 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
export const userType = ` | |
type User { | |
id: Int! | |
title: String! | |
} | |
`; | |
export const resolveUserData() { | |
return someFunctionThatGetsData(); | |
} | |
import { userType, resolveUserData } from '@whatever/user-service'; | |
// in schema | |
`extend type User { | |
buyingTeam: String! | |
}`; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment