"VALID" for EntityModeler

Aaron Rosenzweig <[email protected]> Tue, 29 Oct 2013 15:07:39 -0400
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
Hello WOrriors,

In WOLips, we can say that a .wod key path is "valid" by adding a "// VALID" to it. You can do this for inline bindings as well. 

Is there a similar mechanism in EntityModeler?

I added a "read only" attribute with a "read formatter" (using %P) to transform a VARCHAR into an INTEGER. That way I can create SQL easily to validate and search for values. Really the column should be an INTEGER but it is legacy and I can't change it. This seemed like a reasonable decision.

Back in the old days, Apple's EOModeler never complained about this practice. Our new WOnder EntityModeler gives me warnings every time I save saying essentially that two attributes are referencing the same column. It's a bit annoying. It's a warning so I can ignore it but just wondering if there was some way to flag it as valid.

Thanks,
AARON ROSENZWEIG / Chat 'n Bike
e:  [email protected]  t:  (301) 956-2319

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk

_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc