i am using EntityHooks to ensure that i record an updatedAt date
EntityHook.subscribe { entityChange ->
if (entityChange.changeType == EntityChangeType.Updated) {
if (entityChange.entityClass == FanArtistTable.FanArtist) entityChange.toEntity(FanArtistTable.FanArtist)?.updatedAt = DateTime.now()
}
}
however, when I do, I see this a lot
ERROR Exposed - Entity instance in cache differs from the provided: FanArtist with ID b8dc8bb6-4ddc-48bb-b528-9510a86935bc. Changes on entity could be missed.
if I remove the hook, everything is fine.
exposed 0.59.0
i am using EntityHooks to ensure that i record an updatedAt date
however, when I do, I see this a lot
ERROR Exposed - Entity instance in cache differs from the provided: FanArtist with ID b8dc8bb6-4ddc-48bb-b528-9510a86935bc. Changes on entity could be missed.
if I remove the hook, everything is fine.
exposed 0.59.0