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

add -service=XX cli flag to only perform gen on specific service and related types #215

Open
pkieltyka opened this issue Jul 14, 2023 · 0 comments
Assignees
Labels
todo items we should do
Milestone

Comments

@pkieltyka
Copy link
Member

pkieltyka commented Jul 14, 2023

it would be useful for client generation, and server generation too in some cases, to pass -service=API where "API" is the service API name in a webrpc schema and it would only include the code-gen of types and interfaces which are used by the "API" service rpc methods.

this is useful so you can have a schema with both "API" and "Admin" service, and generate a public client for just the "API" and a separate internal client for the "-service=API,Admin" with both, or just omit -service for standard generation of all, or admin only as -service=Admin

@pkieltyka pkieltyka added the todo items we should do label Aug 7, 2023
@pkieltyka pkieltyka added this to the next milestone Feb 23, 2024
@LukasJenicek LukasJenicek self-assigned this Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo items we should do
Projects
None yet
Development

No branches or pull requests

2 participants