You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GraphQL has been discussed as a potential option for a queryable interface to RPC. Especially with a more extensible support for parsed data ( see #5).
There are some examples already:
Solana FM has graphql support for querying on chain data
Other blockchains have implemented GraphQL as standardised ways to query
People in Solana ecosystem have said this would enhance developer eperience
On the negative side is that this is a fairly complex addition compared to the simplistic nature of the jsonrpc interface and that it may enforce an indexed datastore (see #7).
The text was updated successfully, but these errors were encountered:
I think if we lean more heavily on the modular interface side of things, we can possibly have a separate interface for GraphQL, and an RPC sidecar that supports GraphQL can explicitly say so.
Developers could also roll "resolvers" which use some other sidecar/server implementation but allow use of GraphQL queries on their client-side. This would effectively be a "middle-man" approach, and can be done using this:
GraphQL has been discussed as a potential option for a queryable interface to RPC. Especially with a more extensible support for parsed data ( see #5).
There are some examples already:
On the negative side is that this is a fairly complex addition compared to the simplistic nature of the jsonrpc interface and that it may enforce an indexed datastore (see #7).
The text was updated successfully, but these errors were encountered: