TypeScript class comparison with an instance of can misbehave depending on the TS settings (see more here).
To remove that risk and make generic handling easier, the matching in problemDetailsMiddleware was updated to use regular structural matching on the errorCode property.
TypeScript class comparison with an
instance of
can misbehave depending on the TS settings (see more here).To remove that risk and make generic handling easier, the matching in
problemDetailsMiddleware
was updated to use regular structural matching on theerrorCode
property.