What is Nostr?
Ako Suminoe :njp: /
npub1tuq…axml
2023-07-10 17:41:26
in reply to nevent1q…e6em

Ako Suminoe :njp: on Nostr: Not really. At least, if you contort a REST API to do what GraphQL can do, it loses ...

Not really. At least, if you contort a REST API to do what GraphQL can do, it loses the advantages of REST APIs. The singular advantage of a REST API is that they are highly cacheable. The advantage of GraphQL is that it's easier to make querying child objects in a single request, you can add query parameters to a REST API to include specific child objects, but you have to do this specifically for each child object, and it also becomes a new request that can't be cached with the other requests.
Author Public Key
npub1tuqhwmqxj9g4aqjcw8gn42hugmvqwgquksejcrt3ztpnsmlm9cjq55axml