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 checked #17 and it just reveals bug. Until now, every property name was camelcased, which is wrong ! It'll throw an error in runtime. So, instead of camelcasing property name, it should prefix all generated property names with " as in your screenshot.
TL;DR when the schema have param case (like-this), the generated TS types will be invalid.
Unfortunately I'm not allowed to share the full WSDL schema.
But I can provide an example.
For example, with this complex type:
The generated TS will look like this:
To make the generated TS valid, we just need to wrap the object property with quote mark like:
This issue is happening since v1.2.0.
This doesn't hapeen in v1.1.4.
Might be related to the changes happening in #17
Thanks for the great package by the way, you guys rock 🤘
The text was updated successfully, but these errors were encountered: