the-codegen-project / cli

Simplify your implementation in any language when using standards such as AsyncAPI
https://the-codegen-project.netlify.app/
Apache License 2.0
17 stars 0 forks source link

Add possibility to also generate NatsClient #82

Closed ALagoni97 closed 3 weeks ago

ALagoni97 commented 1 month ago

Normally my code looks like this: export const natsClient = new NatsAsyncApiClient() This is code also generated, but generated by another library. It's nice to have a generated NatsClient that we can use instead of having to install yet another library such as "nats" to connect to the nats server.

jonaslagoni commented 1 month ago

Not planned for now, but at some point a client generated class might make sense

ALagoni97 commented 1 month ago

Going to reopen this as we discussed to focus on this pattern.