WebApiToTypeScript icon indicating copy to clipboard operation
WebApiToTypeScript copied to clipboard

Watts.exe fails when base type is a generic one

Open kresimirlesic opened this issue 6 years ago • 0 comments
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!

kresimirlesic avatar Dec 12 '18 10:12 kresimirlesic