[Grok-dev] Re: Interaction between schema fields and properties

Martijn Faassen faassen at startifact.com
Thu Jul 5 11:04:50 EDT 2007


Hey,

On 7/5/07, Luciano Ramalho <luciano at ramalho.org> wrote:
> On 7/5/07, Martijn Faassen <faassen at startifact.com> wrote:
> > I think the grok 'fields' inner class idiom is deprecated. It was an
> > early approach but I see too many things wrong with it - subclassing
> > doesn't work for instance. I'm not sure what goes wrong here, but this
> > is more evidence for them being too magic and too limited.
>
> Nice to know! I had already stumbled upon another bad smell: the inner
> field class *must* be an old-style class.
>
> So I will refactor that part of Kirbi.

Feel free to take out the support from Grok entirely. I don't think
anyone will complain a lot and right now that whole inner 'fields'
class story is a bit of a trap.

Regards,

Martijn


More information about the Grok-dev mailing list