Re:How to GraphQL – A Fullstack Tutorial for GraphQL
by fizb on Wednesday June 13, 2018 @07:19PM
(#17307863)
from the tutorial:
Why is this rubbish in backticks accepted? It is especially stunning to see this in "modern" ES6+ code explaining the newest hype. It's not even mentioned that it sucks, it's presented like proper code.
[ Parent
| on HN ]
Re:How to GraphQL – A Fullstack Tutorial for GraphQL
by tomnipotent on Wednesday June 13, 2018 @07:20PM
(#17307869)
Because it's a string?
Re:How to GraphQL – A Fullstack Tutorial for GraphQL
by danlugo92 on Wednesday June 13, 2018 @11:26PM
(#17309036)
It could be done in a type safe manner as opposed to magic strings.
Re:How to GraphQL – A Fullstack Tutorial for GraphQL
by tomnipotent on Thursday June 14, 2018 @01:03PM
(#17313171)
No, because it's meant to be a declarative language and not ECMA-based. At least spend five minutes understanding what something is before throwing shade.