I think it is enough if you just remove the corresponding PropertyMetadata
instances, then the serializer is not aware of them.


On Mon, Nov 25, 2013 at 2:39 PM, Lukas Kahwe Smith <notifications@github.com
> wrote:

> In src/JMS/Serializer/Metadata/Driver/DoctrineTypeDriver.php:
>
> > @@ -105,9 +105,18 @@ public function loadMetadataForClass(\ReflectionClass $class)
> >
>
> ok i have refactored the DoctrineTypeDriver and also created a PR on the
> JMSSerializerBundle:
> schmittjoh/JMSSerializerBundle#340<https://github.com/schmittjoh/JMSSerializerBundle/pull/340>
>
> however the question remains .. do I need to figure out what should be
> excluded in DoctrinePHPCRTypeDriver and if so I guess I need to write this
> information into the class/property metadata instances of the serializer?
> if so, what method should i call to set this data?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/schmittjoh/serializer/pull/184/files#r7890424>
> .
>