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

Allow creating only the types without any Client #1034

Open
ibotty opened this issue Jan 7, 2025 · 2 comments
Open

Allow creating only the types without any Client #1034

ibotty opened this issue Jan 7, 2025 · 2 comments

Comments

@ibotty
Copy link

ibotty commented Jan 7, 2025

It would be great to allow generating only the types without any Client.

@ahl
Copy link
Collaborator

ahl commented Jan 10, 2025

Interesting; can you explain the use case a bit?

@ibotty
Copy link
Author

ibotty commented Jan 10, 2025

My use case is implementing a webhook for sftpgo where I need to return the user type (and its associated types).

Another use case I ran into (but I was not aware of progenitor then) was, if you want to reimplement an API. Of course the client will be useful for testing, but not neccessary (and might pull in too many dependencies).

I also assume that I won't run into some limitations of progenitor, because they seem only relevant when generating the client.

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