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

proxy: proxy is default code generation mode #19

Merged
merged 1 commit into from
Jan 1, 2018
Merged

Conversation

Xorlev
Copy link
Owner

@Xorlev Xorlev commented Jan 1, 2018

Proxy mode is the recommended mode of operation for grpc-jersey, so it
should also be the default code generation mode. Users of the direct
mode often ask how to use their existing gRPC interceptors for auth, so
this should just be provided behavior.

Existing users of the proxy option will not need to change their
projects, proxy is now a no-op.

Instead, users who wish to use the server stub mode should add direct
to their jersey plugin options (see README).

Proxy mode is the recommended mode of operation for grpc-jersey, so it
should also be the default code generation mode. Users of the direct
mode often ask how to use their existing gRPC interceptors for auth, so
this should just be provided behavior.

Existing users of the `proxy` option will not need to change their
projects, `proxy` is now a no-op.

Instead, users who wish to use the server stub mode should add `direct`
to their jersey plugin options (see README).
@Xorlev Xorlev merged commit ecb46e4 into master Jan 1, 2018
@Xorlev Xorlev deleted the proxy-default branch January 1, 2018 21:42
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.

1 participant