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
When exporting DTOs' attributes with a default value, we can try to transpile it.
Primitives were considered an easy case, however not all of them can be rewritten as-is. For example long litterals are suffixed by L in Java, however this notation doesn't exist in JavaScript. With this particular example we might consider using BigInts.
We refused to transpile instantiations, but we could make an exception when the instanciated class is the DTO itself. This can happen with user-defined enumerations.
The text was updated successfully, but these errors were encountered:
When exporting DTOs' attributes with a default value, we can try to transpile it.
Primitives were considered an easy case, however not all of them can be rewritten as-is. For example
long
litterals are suffixed byL
in Java, however this notation doesn't exist in JavaScript. With this particular example we might consider usingBigInt
s.We refused to transpile instantiations, but we could make an exception when the instanciated class is the DTO itself. This can happen with user-defined enumerations.
The text was updated successfully, but these errors were encountered: