https://bugzilla.wikimedia.org/show_bug.cgi?id=57394

--- Comment #9 from Gabriel Wicke <gwi...@wikimedia.org> ---
I'm not a fan of giving DU internal state, so IMO it might make more sense to
use either

DU.data(node, env)

or env.getNodeData(node)

I'd suggest both should return a reference to the actual object, which can be
modified as needed. To completely replace the data entry, env.setNodeData(node,
newData) could be used. Using separate getter/setters lets us add default
values too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to