SHARE
TWEET

Untitled

a guest Aug 23rd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rootQuery := graphql.NewObject(graphql.ObjectConfig{
  2.     Name: "Query",
  3.     Fields: graphql.Fields{
  4.         "songs": &graphql.Field{
  5.             Type: graphql.NewList(songType),
  6.             Resolve: func(params graphql.ResolveParams) (interface{}, error) {
  7.                 return nil, nil
  8.             },
  9.         },
  10.     },
  11. })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top