[PATCH 2 of 2 eac] [entities] allow controlling export of recordId and otherRecordId

Sylvain Thénault sylvain.thenault at logilab.fr
Tue Feb 28 10:04:14 CET 2017



Le 28/02/2017 à 09:58, Denis Laxalde a écrit :
> Sylvain Thénault a écrit :
>> I think the first one could be pruned by simply
>> providing a custome AuthorityRecord entity class in saem_ref, that
>> override the record_id and other_record_ids property. That would be
>> simple and consistent.
>
> I've been thinking about that but resisted to suggest because I wasn't
> comfortable with overriding a property from schema...
>
I still prefer that other adding weird dedicated methods/properties to
the exporter. In the context of saem_ref where this behaviour is
specified, it seems to be acceptable.

-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org



More information about the saem-devel mailing list