Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- artistType := graphql.NewObject(graphql.ObjectConfig{
- Name: "Artist",
- Fields: graphql.Fields{
- "id": &graphql.Field{
- Type: graphql.String,
- },
- "name": &graphql.Field{
- Type: graphql.String,
- },
- "type": &graphql.Field{
- Type: graphql.String,
- },
- },
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement