On 06/04/2006, at 16:36, Michele Cella wrote:
> Opinions? Alberto (generate_schema guru :P)?

mmm, should I add that to my resumè? :D
Sounds good too me, though I must admit that I haven't thought too  
much about it (haven't stepped into that bug myself).

> I think this should work, should we wrap the validator with Any and  
> All
> in the final schema or do it inside every form field (decorating the
> init method) and then use that in the Schema?

I guess it's best to keep all this magic inside meta, so I'd say do  
it in the generate_schema phase. That way there's no need to decorate  
__init__ any further (remember that generate_schema runs in an  
__init__ decorator already)

Adeu,

Alberto
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to