Skip to content

Instantly share code, notes, and snippets.

@gufranmirza gufranmirza/main.go
Created Aug 11, 2019

Embed
What would you like to do?
rootQuery := graphql.NewObject(graphql.ObjectConfig{
Name: "Query",
Fields: graphql.Fields{
"songs": &graphql.Field{
Type: graphql.NewList(songType),
Resolve: func(params graphql.ResolveParams) (interface{}, error) {
return nil, nil
},
},
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.