Hello,
Using FrankenPHP in worker mode with Caddy, objectHashes is not cleared if an error occurs during MicroMapper usage.
When an error is thrown, the map code is not wrapped in a try/finally, so objectHashes isn't reset. This can cause spl_object_hash() to return a reused value on a new object in a future request, leading to side effects.
In our case, this happens when validation exceptions are thrown from implementations of TypedMapperInterface, which is part of the expected behavior.
Suggested fix: maybe wrap processing in try/finally