Hacker News new | ask | show | jobs
by searchableguy 1559 days ago
Have any example on how to add kable to a graphql API?
1 comments

We don't currently have any customers using Kable and GraphQL together. To be totally honest, I'm not a GraphQL expert, and I don't want to give you any false information, so unfortunately no, I don't have an example for you.

Kable can be accessed through our Node and Python libraries (more languages on the way) or over HTTPS REST API. I will have to defer to your design sense about the best way to leverage these technologies with a GraphQL API today.

One of the problems with graphql is a single query can fetch your entire API.

This means to record for billing, you would need to parse the AST and tag the parts as well as their associated cost in a query.

It's not an easy drop in, unfortunately.