-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Generate all clients? #44
Comments
hi @joepjoosten nothing stops us, I initiated this repos to first cover what I needed, |
Apologies for promoting my solution, but I have something that might interest you. I also love Effect and AWS. Here’s my code generator that serves a similar purpose: I believe this solution can generate the necessary code you need. |
Hey @kondaurovDev thanks for that. Ts-morph is in my list of packages which I want to try , thanks for good example I'm not sure if your package specifically somehow can be used, bc I see the generated output is a bit opinionated. So it is definitely helpful as inspiration, but not directly imo But my ultimate goal is to generate all the packages during build time, so we don't have to commit all those code duplicates |
Hi @floydspace
What do you mean by "all the packages"? And "to commit all those code duplicates"? I think it's not feasible to generate all of AWS sdk clients (there are ~400 sdk clients) and different project may use different sets of those sdk clients.
In my opinion that decision must be made by developer, whether he wants to commit the generated code or add the generated folder in
It's not usable in |
I meant "all the clients", so we generate during build time, and the publish to npm, like it is done in zio-aws I guess.
it is the point why we still explicitly have only limited set of clients published, I cannot guaranty it would work for all aws clinets and I'm not comfortable with that |
Is there a reason not to generate all clients and create a pull request with the latest version of all clients (with the proper errors per command)?
Just wondering what is holding "us" back? Is there something I'm missing here?
I could spend a day this weekend to generate them all...
The text was updated successfully, but these errors were encountered: