Re: New handler for retrieving properties when object is serialized
Hi!
> Yes, this would break extensions. But we never made any promises about
> source BC for extensions. In fact, we actually break it for every
Actually, we try to preserve source BC for extensions, unless they do
some weird things or they go very deep into the implementation details.
"Regular" extension generally should not suffer from adding a feature.
> Alternatively, could the problem perhaps be mitigated by making
> available some utility functions for serializing native types?
We could definitely make some parts of serializer API-accessible, or
even make serializer as a whole to be more API-friendly, I think it'd be
a nice idea if making implementing Serializable would be made easy by
reusing serializer code and combining pieces. If now it's hard making it
easier definitely a good idea, much better than creating one more API IMHO.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
Thread (22 messages)