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
The docs mention that arrayrefs and hashrefs will be inspected up to one level down to serialize/deserialize any objects that are found, which is great. However, it appears that rather than checking types against the main types list, all blessed objects are passed directly to the generic "object handler". This means that any custom types added with add_custom_type_handler are ignored in this scenario.
Can anyone shed some light on whether this is by-design, a potential area of improvement, or if there's a good workaround?
The text was updated successfully, but these errors were encountered:
No, the code in question seems to have existed in at least the last couple versions.
Comparing them now, I see that 0.49 added some new logic nearby, but didn't alter the part that sends all blessed objects to the generic handler (not checked for custom type handlers).
The docs mention that arrayrefs and hashrefs will be inspected up to one level down to serialize/deserialize any objects that are found, which is great. However, it appears that rather than checking types against the main types list, all blessed objects are passed directly to the generic "object handler". This means that any custom types added with
add_custom_type_handler
are ignored in this scenario.Can anyone shed some light on whether this is by-design, a potential area of improvement, or if there's a good workaround?
The text was updated successfully, but these errors were encountered: