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
Good luck figuring that out if you're new to KXS, and didn't happen to build this library...
Potential solutions
Users should be able to set overrides for SerialDescriptors, similar to the existing serializerDescriptors and descriptorElements in KxsTsGenerator. For example
val gen =KxsTsGenerator()
gen.addOverride(
Double.serializer().descriptor to existingTypeAlias("double"),
)
The text was updated successfully, but these errors were encountered:
* allow for overriding of elements (partial support for #23 and #22), and update knit to allow for TS Compile to be disabled
* make TsMapTypeConverter more clear, split inline/non-inline
* code tidy
* fix bug where overrides weren't consistently found and applied if the target was nullable
If a client already has some standard type aliases, then I want to re-use those type aliases in my generated code.
If I hack around a bit, I can come up with something that works. But it's not pretty, or intuitive
This produces the correct output...
Good luck figuring that out if you're new to KXS, and didn't happen to build this library...
Potential solutions
Users should be able to set overrides for SerialDescriptors, similar to the existing
serializerDescriptors
anddescriptorElements
inKxsTsGenerator
. For exampleThe text was updated successfully, but these errors were encountered: