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
I was trying to setup my base entity to have @BeforeCreate and @BeforeUpdate hooks on it to handle setting some common fields (id, created, createdBy, updated, updatedBy, etc) but they seem to be ignored. They work fine if I put them on one of my my main entities, just not on the base one I extend from.
Is this possible or is there a better way to define this functionality once and reuse it?
The text was updated successfully, but these errors were encountered:
I was trying to setup my base entity to have
@BeforeCreate
and@BeforeUpdate
hooks on it to handle setting some common fields (id, created, createdBy, updated, updatedBy, etc) but they seem to be ignored. They work fine if I put them on one of my my main entities, just not on the base one I extend from.Is this possible or is there a better way to define this functionality once and reuse it?
The text was updated successfully, but these errors were encountered: