An incorrect error log message is given about @Immutable is declared to non-root entities that are not @Immutable declared.
@Immutable can only be declared on the Root Entity. That is, it is not wrong to say that a non-root entity is mutable, so should not send the message {{@Immutable used on a non root entity}} to non-root entity that are not declared with @Immutable.
This should only happen for non-root entities that are immutable. |
|