wsdl-to-ts icon indicating copy to clipboard operation
wsdl-to-ts copied to clipboard

Fix some issues with typing generation when xs types are used

Open zanemcca opened this issue 5 years ago • 2 comments

  • Array types that contain a namespace are mangled by the typing generator. This is fixed by explicitly keeping all array setup text prior to the namespace.
  • An xsd:decimal may have some typeData included which caused the typeData to be interpreted as a set of allowed values. The fix included catches all number types and makes sure they map to number

zanemcca avatar Apr 11 '19 21:04 zanemcca

@TimLuq Could I get some eyes on this fix?

zanemcca avatar Apr 15 '19 18:04 zanemcca

@TimLuq I would also appreciate to get this fix in. Just found out that I have type "integer" in my generated schema.

RafaelKr avatar Oct 19 '20 11:10 RafaelKr