Does the Transformer Plugin support dates? #341
Unanswered
PieterBoeren
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hi @PieterBoeren,
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure if this is a bug or working as intented, but whenever I use a Date in one of my models, the transformer plugin breaks.
With this model, I get this result:
When I add the "AutoMap" decorator (as commented out above), the error goes away.
It gets even more interesting (I make a mistake when configuring the plugin) when you don't supply any "modelFileNameSuffix" (just pass in an empty array), then there is no error at all and it seems to work (without having to supply the decorator).
In my webpack config:
So to summarize:
Beta Was this translation helpful? Give feedback.
All reactions