Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- },
- },
- },
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement