3 ms·
Any idea why they decided to use string-based queries for GraphQL? I feel something that can be composed programmatically without having to deal with string co
by lewisl9029 11y ago
Any idea why they decided to use string-based queries for GraphQL?
I feel something that can be composed programmatically without having to deal with string concatenation like Falcor's queries or the Datomic Pull syntax proposed in Om Next [1] could be more flexible and robust. I may be missing something.
[1] https://www.youtube.com/watch?v=ByNs9TG30E8 https://www.youtube.com/watch?v=ByNs9TG30E8
- tracker1 11y agoYou can always use JS/ES6 string templates (using Babel or Traceur).