Alan Johnson

Results 63 comments of Alan Johnson

That only works if you have a literal string for the format. I didn't demonstrate this in my example, but the reason I'm trying to do this is because I...

I'm discovering more writings related to live queries: https://github.com/facebook/graphql/issues/284 -- A long discussion of how live queries relate to subscriptions. I’ve put more thought into this, and I’ve concluded that...

@alloy Ah, thanks! Yeah, so Relay is literally implementing the naive live query approach. Biggest problem is that it doesn't seem to leave room for partial updates. So, I actually...

Yeah, my idea here was to present something that would encompass polling and efficient reactive push updates. I'll check those out and see if there's a good place to collaborate!

> See also the JSON patch spec: http://jsonpatch.com/ Interesting. So looking at that spec, one implementation of this concept would simply be a standard event subscription with a schema that...

Actually, maybe a better way to apply this idea would be: ```graphql scalar JSON type Subscription { liveQuery: LiveQuery } type LiveQuery { query: Query # or an alternate root...

@taion posed the key questions. Here's what I would propose: 1. Leave it up to the server. In some cases, the entire data layer could be implemented in something like...

@paralin I think you may be thinking of a fairly different concept. I want to be clear here, what I've got in mind is a system that would allow people...

@paralin Sorry for the long delay -- holiday break. I think you misunderstand what I'm saying. I totally get that the _intention_ of subscriptions was an event-push model. My point...

I just reread the subscription spec, but I'm not seeing how this is disallowed. Could you explain?