daniel added a comment.

Summary of today's discussion with @thiemowmde:

- Don't replicate code in the model, use a common base class (or trait), so 
facets are allowed in all data model nodes.
- Inject facet declarations (a FacetDefinition service or some such) into each 
object that supports facets. This allows facets to be checked against the 
declared type, as well as listing of supported facets.
- Define all aspects of a given facet in a single place, similar to the 
declaration of data types (or like ContentHandler).


TASK DETAIL
  https://phabricator.wikimedia.org/T118860

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: Bene, Lydia_Pintscher, mkroetzsch, adrianheine, hoo, thiemowmde, aude, 
Jonas, JanZerebecki, JeroenDeDauw, Aklapper, StudiesWorld, daniel, Luke081515, 
Wikidata-bugs, Mbch331



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to