Skip to content

initial design for subscription over observables - #30

Closed
DxCx wants to merge 1 commit into
apollographql:masterfrom
DxCx:observables-design
Closed

DxCx wants to merge 1 commit into
apollographql:masterfrom
DxCx:observables-design

Conversation

@DxCx

@DxCx DxCx commented Dec 30, 2016

Copy link
Copy Markdown

Hi Guys,
@Urigo asked me to open a PR showing how and why i want to use observables.
hoe you enjoy it.

@helfer @stubailo

Comment thread .designs/observables.md

GraphQL main goal is user experience for devices inside poor networks.

therefore giving the client ability to configure how frequent the updates will be is very helpful. (poor network -> lower updates, standard-network -> regular updates)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the "directive" way of doing live data... Maybe something like this?

{
  myField @live(batchInterval: 10)
}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually i meant as resolver arguments, but ofcourse it can apply to directive also, i liked your idea

@DxCx DxCx closed this Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants