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
I think that model protocols for every model have identical structure and could be removed (moved to autogenerated file) with this
See this gist, https://gist.github.com/vaderdan/cfd9ef853f123143e580ec2e3664a8c1
Basicaly it scans for classes that extends Automodel and make protocols with inputs/outputs from them
Hi what do you think about Sourcery (https://github.com/krzysztofzablocki/Sourcery)
It generates generates some of the duplicate/boilerplate code for you
I think that model protocols for every model have identical structure and could be removed (moved to autogenerated file) with this
See this gist,
https://gist.github.com/vaderdan/cfd9ef853f123143e580ec2e3664a8c1
Basicaly it scans for classes that extends Automodel and make protocols with inputs/outputs from them
https://www.caseyliss.com/2017/3/31/the-magic-of-sourcery
The text was updated successfully, but these errors were encountered: