Replies: 1 comment
-
Using Interfaces or objects in DTOs is both highly discouraged and not supported in Add ServiceStack Reference languages. Use known concrete collections like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
we're currently running into an issue where servicestack's typescript code gen doesn't translate the
IList<T>
type of our response model. When using the underlyingICollection<T>
type, the correct output gets emitted.As the dart-gen worked fine, I've taken a look at the source-code and found that the fields
ArrayTypes
andDictionaryTypes
of the following generators mismatch with the dart gen:For now I've fixed the issue by manually adding the missing types to the
TypeScriptGenerator
via:But shouldn't the values of
ArrayTypes
andDictionaryTypes
match in each of these generators?Thanks! 🙂
Beta Was this translation helpful? Give feedback.
All reactions