On 15/10/2018 10:32, Stephen Kitt wrote:
> Hi Robert,
> 
> On Sun, 14 Oct 2018 20:45:31 +0200
> Robert Varga <n...@hq.sk> wrote:
>> The question is what are we going to do about this?
>>
>> One option is to implement
>> https://jira.opendaylight.org/browse/MDSAL-18 for LazyDataObjects
>> where the list is not restricted by min-elements > 0.
>>
>> Another is to have a utility method which turns nulls to empty lists.
> Do you know how much effort the first option would take? (Going by the
> comments on MDSAL-18, I get the impression you’ve already started
> looking into it!) It would seem to be better in the long run...

The codec part is rather trivial, but the problem is DTOs -- it requires
changing equality contracts and it affects all DTO use, not just where
data store is involved.

While if felt feasible yesterday, I cannot quite wrap my mind around
impacts and what can break and where. I don't thing this really is an
option before mdsal-4.0.0.

Regards,
Robert

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openflowplugin-dev mailing list
openflowplugin-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to