You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very handy to be able to specify the access modifier for the generated DTOs and Clients.
backstory:
In our project, we have modularized everything and try to keep our public Api surface as small as possible.
We define most of our classes as internal unless they explicitly are needed in other places.
All HTTP calls a module needs and all their DTOs reside in the module and never leave it's scope.
The text was updated successfully, but these errors were encountered:
Yes, it is possible to generate the interface API and contract types as internal. I can expose this in some CLI arguments, but the default will be public
First off, sorry for feature bombing
It would be very handy to be able to specify the access modifier for the generated DTOs and Clients.
backstory:
In our project, we have modularized everything and try to keep our
public
Api surface as small as possible.We define most of our classes as
internal
unless they explicitly are needed in other places.All HTTP calls a module needs and all their DTOs reside in the module and never leave it's scope.
The text was updated successfully, but these errors were encountered: