Skip to content

Instantly share code, notes, and snippets.

View alangenfeld's full-sized avatar

Alex Langenfeld alangenfeld

  • Dagster Labs
  • Minneapolis, MN
View GitHub Profile
Original:
Query Example {
me() {
name,
url.site(mobile)
}
}
Open Source:
var Example = new GraphQLObjectType({
name: 'Example',
fields: {
thingA: {
type: GraphQLString,
resolve: fetchThingA
},
thingB: {
type: GraphQLString,
resolve: fetchThingB