Open srghma opened 2 years ago
I agree this is a useful feature and would also make the graphql endpoint more self-contained. Though it is a bigger feature and it'd be nice to have cross-client coordination on its design, which will be easier after the schema becomes a living document as per https://github.com/ethereum/execution-apis/issues/163.
will rename since it seems like the filter functionality is the only one that is left to implement
Rationale
grapqh is easier to debug and try-out than rpc
/graphql/ui
(probably arguments should contain fields foreth_newFilter
)Implementation
this is how postgraphile adds subscriptions
https://github.com/graphile/postgraphile/blob/7c15ce5b275ff41969c631c1d6d1d46c0bcdb6dc/postgraphiql/src/components/PostGraphiQL.js#L168
https://www.graphile.org/postgraphile/subscriptions/
not sure