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

Closed
zth opened this issue Apr 23, 2020 · 1 comment
Closed

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

zth opened this issue Apr 23, 2020 · 1 comment

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.

@zth
Copy link
Owner Author

zth commented Aug 1, 2024

This isn't a feature that's advertised anything by Relay, so we'll drop this for now.

@zth zth closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2024
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