Generate Refit interfaces as partial
by default
#161
Labels
enhancement
New feature, bug fix, or request
partial
by default
#161
I propose ~~ a
--partial
Flag for the CLI.~~ refit interfaces to be generated aspartial
interfaces by default, which would comply with most other code-generator tools out there and the way the models are generated currently.Reasoning being, for certain classes we need to add attributes, interfaces or utility methods which is currently not possible without modifying the generated code.
By having
partial
classes for Models and Refit-Interfaces, we can make use of agenerated.additions.cs
(example name) which contains the needed modifications.The text was updated successfully, but these errors were encountered: