Question regarding Name component in Zay-ES

Hi

The default Name component in Zay-ES

implements both EntityComponent and PersistentComponent.

PersistentComponent already extends EntityComponent so this should work fine with both DefaultEntityData and SqlEntityData.

Any reason why Name component yet implements EntityComponent ?

Because it’s harmless and slightly clearer.

2 Likes