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 Selma generates the custom enum mapping, it does not checks for validity of the default value if defined.
So we get a compilation warning on the generated class.
We should add a compiler check for that to report a comprehensive error.
The text was updated successfully, but these errors were encountered:
Selma will now raise a compilation error like that:
Invalid default value for @EnumMapper(from=fr.xebia.extras.selma.beans.EnumA.class, to=fr.xebia.extras.selma.beans.EnumB.class, default="c") fr.xebia.extras.selma.beans.EnumB.c does not exist
When Selma generates the custom enum mapping, it does not checks for validity of the default value if defined.
So we get a compilation warning on the generated class.
We should add a compiler check for that to report a comprehensive error.
The text was updated successfully, but these errors were encountered: