Re: [Repoze-dev] entry points vs ZCA registrations

2010-11-13 Thread Shane Hathaway
On 11/12/2010 03:17 PM, Iain Duncan wrote: > Reading some of the diaolgue on the pylons/bfg merger has me curious > about the following, wondering if any experts care to share opinions and > war stories: > > - what is the best use case for extending through entry points? > - why/when would you use

[Repoze-dev] [colander] Optional schema nodes

2010-11-13 Thread Andrey Popp
Hello, I've been investigating usage of Colander for validating our JSON API, but found the following issue — I can't express the optional fields with colander schemas. What I mean is: - I need to validate some mapping. - Mapping may have or may not have X key. - If it has X — it should be val