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
using "fromJson()" as constructor (obviously without parameter since it doesn't know what tu put there)
if I add a second parameter to the ActivityAssetsDto constructor the generator picks the correct constructors without problems.
It seems that the strategy of getting the constructor with the most arguments does not always work.
thank you for your time
The text was updated successfully, but these errors were encountered:
Hi,
Given an example dto like the following, with serializable's toJson / fromJson methods
it generates
using "fromJson()" as constructor (obviously without parameter since it doesn't know what tu put there)
if I add a second parameter to the ActivityAssetsDto constructor the generator picks the correct constructors without problems.
It seems that the strategy of getting the constructor with the most arguments does not always work.
thank you for your time
The text was updated successfully, but these errors were encountered: