found-relay icon indicating copy to clipboard operation
found-relay copied to clipboard

Support async getQuery

Open taion opened this issue 6 years ago • 5 comments

Follow-up feature request from https://github.com/relay-tools/found-relay/issues/294

taion avatar Jul 01 '19 14:07 taion

isn't this better solved by persistent queries?

jquense avatar Jul 01 '19 17:07 jquense

Probably.

taion avatar Jul 01 '19 17:07 taion

I don't know, I liked your reasoning. I think I was mislead by the apparent tidiness of keeping the query with the module. If this capability existed, it would have lead me down the wrong path?

dminkovsky avatar Jul 01 '19 18:07 dminkovsky

Yeah, we probably don't want to do anything here. It probably makes sense to use persistent queries and only send up the query hash, in cases where we want to omit the weight of queries from the main bundle.

taion avatar Jul 01 '19 19:07 taion