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

Resolver plug-ins? #719

Closed
djmarcin opened this issue Jan 25, 2019 · 2 comments
Closed

Resolver plug-ins? #719

djmarcin opened this issue Jan 25, 2019 · 2 comments

Comments

@djmarcin
Copy link

Can custom resolvers be used with the node client? I didn’t see an API for this in the JavaScript. Would I need to fork, add it to the C library, and build from source?

@nicolasnoble
Copy link
Member

There is currently no API in the C library for custom resolvers. See grpc/grpc#16617

@murgatroid99
Copy link
Member

The grpc package has been deprecated, so even if the C library does get an API for custom resolvers, it will not be picked up by that library. However, the @grpc/grpc-js library, which we recommend using, now has an experimental API for defining and registering custom resolvers. We do not guarantee that that API will be stable across different minor versions of that library, so use it at your own risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants