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

i import a new gateway.Endpoint without recompile #937

Closed
yangyangpig opened this issue May 16, 2019 · 3 comments
Closed

i import a new gateway.Endpoint without recompile #937

yangyangpig opened this issue May 16, 2019 · 3 comments

Comments

@yangyangpig
Copy link

if i add a new proto file,how can i import a new gateway.Endpoint without recompile.

Whether or not you can't do that

Looking forward to your reply
thank you

@johanbrandhorst
Copy link
Collaborator

Hi @developersPHP. If you want to add more services to your gateway, you must generate a new gateway file with our protobuf generator plugin. Does that answer the question?

If you have follow up questions please reach out to the #grpc-gateway channel on Gophers slack.

@yangyangpig
Copy link
Author

thank you answer my question!!
But I don't want to add it statically into my code, can I have an API for dynamic import?

@johanbrandhorst
Copy link
Collaborator

We don't support anyway of dynamically adding endpoints at this time, no.

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

2 participants