On 30 Aug, 2006, at 15:43, Andi Vajda wrote:
On Wed, 30 Aug 2006, Grant Baillie wrote:
I think PJE was talking about the dump-and-reload schema upgrade
strategy: Presumably, we would store the .value for that.
For dump and reload, I'd store the .name or the full name such as
TriageEnum.now, not the value since there may be more than one
constant with the same value.
... in the crazy dict-based way of doing things, sure ;)
Actually, as I understand things, if you're writing a sharing schema
for a kind that has an enumerated attribute, you can persist the
value any way you choose. Presumably, though, we're talking about the
default behaviour here...
--Grant
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev