On Mon, Jul 7, 2008 at 18:02, Jonathan LaCour
<[EMAIL PROTECTED]> wrote:
>
> I am upgrading my application to TurboGears 2.0, and in the process
> am having an absolute *fit* with TurboJSON after the switch to
> PEAK-Rules. I don't want to use any of the default jsonify rules,
> and before with the older version of TurboJSON, I was able to call
> `jsonify.clear()` so that I wouldn't have any conflicts.  It now
> appears that this capability is gone, and the documentation for PEAK
> Rules is essentially non-existent.
>
> So, now I have a massive set of rules that are all blowing up with
> `AmbiguousMethod` exceptions and no way that I can determine a way
> to fix them.
>
> Honestly, I don't see any point for TurboJSON to include any default
> rules whatsoever, since none of them really save much in terms of
> code, and create more headaches than they are worth, especially since
> you *can't* override them as far as I can tell.

I am +1 on moving those rules into a function that could be called
once by the developer.
(to maintain compatibility).

Cheers,

Roger

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to