Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. artistType := graphql.NewObject(graphql.ObjectConfig{
  2. Name: "Artist",
  3. Fields: graphql.Fields{
  4. "id": &graphql.Field{
  5. Type: graphql.String,
  6. },
  7. "name": &graphql.Field{
  8. Type: graphql.String,
  9. },
  10. "type": &graphql.Field{
  11. Type: graphql.String,
  12. },
  13. },
  14. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement