DEV Community

loading...

Discussion on: What do you think about GraphQL? Who's using it? Love it, hate it? Tell me why?

Collapse
shadowtime2000 profile image
shadowtime2000

The only reason I have procrastinated in learning it is because I am not a fan of using a string for a graphql query in a function to call that query.

Collapse
shadowtime2000 profile image
shadowtime2000

An example being:

graphql`whatever graphql thing u wanna do here`
Enter fullscreen mode Exit fullscreen mode
Collapse
obinnaspeaks profile image
Obinna Ekwuno Author

oh, but then I would advocate that it's a small price to pay for the value you get back.