WebApiToTypeScript
WebApiToTypeScript copied to clipboard
Watts.exe fails when base type is a generic one
trafficstars
Watts.exe fails when a base type is a generic one.
We have multiple base types with single generic argument and watts is working fine, however it fails with a generic base type that has 3 generic arguments (not sure about 2, did not check that out).
It fails inside InterfaceService in WriteInterfaces(TypeScriptBlock interfacesBlock, InterfaceNode interfaceNode) method on the foreach line. The exception we get is that the collection was modified.
Looking forward to this fix, because we had to utilize interfaces to go around this and that introduced some code duplication.
Thanks!