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
To support lazy introspection of BasicBeanDescription for common cases (or more specifically, often avoid it altogether), it makes sense to pass Supplier<BeanDescription> instead of BeanDescription.
Supplier will then just call introspection first time, and cache (memoize) it for further access.
The most obvious place that needs changing is Serializers but code in BasicSerializerFactory and BeanSerializerFactory needs changes too.
And after databind changes, many/most modules as well.
The text was updated successfully, but these errors were encountered:
To support lazy introspection of
BasicBeanDescription
for common cases (or more specifically, often avoid it altogether), it makes sense to passSupplier<BeanDescription>
instead ofBeanDescription
.Supplier will then just call introspection first time, and cache (memoize) it for further access.
The most obvious place that needs changing is
Serializers
but code inBasicSerializerFactory
andBeanSerializerFactory
needs changes too.And after databind changes, many/most modules as well.
The text was updated successfully, but these errors were encountered: