Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Bind way to provide (and create your own) handlerProvider #45

Open
zth opened this issue Apr 23, 2020 · 0 comments
Open

[feature] Bind way to provide (and create your own) handlerProvider #45

zth opened this issue Apr 23, 2020 · 0 comments

Comments

@zth
Copy link
Owner

zth commented Apr 23, 2020

handlerProvider is a way of letting you write custom handlers (think middlewares that run before a specific field is merged into the store, allowing you to change anything in the store as a field is added or updated in a centralized place). This is done by defining a handler and then referencing that on a field using the @__clientField(handle: String!) directive.

The magic @connection does is implemented internally by providing a handler for instance.

There should be bindings and docs for this.

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

No branches or pull requests

1 participant