Re: [Modeling-users] Re: initial value of required fields
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2004-07-21 17:35:45
|
John Lenton <jl...@gm...> wrote: > On Wed, 21 Jul 2004 12:17:42 -0300, John Lenton <jl...@gm...> wrote: > > S=E9bastien, would having an option for required fields being > > initialized to non-null values be ok with you? > >=20 > > In a project I'm overseeing the team finds it unnatural that a > > required field that isn't filled in won't raise an exception, and I > > thought the easy way out (while I thump them with a > > validate-everything stick) would be to make it optional... Sorry, but I'm not sure to understand: are you facing situations where objects with None value in required field did not make ec.saveChanges() raise? > FWIW, now they're using defaultValue to do the same thing... and maybe > that's enough. If tyhis is just a matter of initialization then yes, the default values should be enough, or am I missing something? -- S=E9bastien. |