>
> How would you fix this example, then? Perhaps we should add more examples
> in the docs.
>

But it closes for extension preventing the serialization of instances not
whitelisted. It may work for @internal or package private classes, but not
for public classes.

Em qui, 17 de jan de 2019 às 23:03, Marco Pivetta <ocram...@gmail.com>
escreveu:

>
>
> On Fri, Jan 18, 2019 at 2:00 AM Marcos Passos <marcospassos....@gmail.com>
> wrote:
>
>> How would you fix this example, then? Perhaps we should add more examples
>> in the docs.
>>
>
> You'd include all expected child classes in the list of `allowed_classes`.
> As for the docs, feel free to go ahead and edit them directly :+1:
>
> Marco Pivetta
>
> http://twitter.com/Ocramius
>
> http://ocramius.github.com/
>
>

Reply via email to