API Design Questions (2)

Gervase Markham gerv at mozilla.org
Thu Sep 24 10:37:22 UTC 2009


On 24/09/09 11:31, Max Kanat-Alexander wrote:
> 	Oh, you mean that you want some way to reset things to the default when
> updating bugs! Just set them null as opposed to an empty string.

So you are saying, for qa_contact:

missing      => no change
null         => reset to default
empty string => no QA contact
user object  => that user

? I guess that's unambiguous. Is it also intuitive? :-)

Gerv

_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list