Skip to content

Conversation

@dunglas
Copy link
Member

@dunglas dunglas commented Dec 10, 2015

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

@dunglas dunglas changed the title [FrameworkBundle] PropertyInfo: register the SerializerExtractor support [FrameworkBundle] PropertyInfo: register the SerializerExtractor Dec 10, 2015
@dunglas
Copy link
Member Author

dunglas commented Dec 14, 2015

ping @symfony/deciders

@nicolas-grekas
Copy link
Member

👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This service can be private to.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@dunglas
Copy link
Member Author

dunglas commented Dec 22, 2015

Switched from Prophecy to the PHPUnit old mock system.

Travis errors look unrelated.

@nicolas-grekas
Copy link
Member

ping @stof

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we configure this in the serializer.xml file of the FrameworkBundle where the serializer.mapping.class_metadata_factory service is registered?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this service should not be added if serializer.mapping.class_metadata_factory doesn't exist.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand, but when we configure it in serializer.xml it will only be registered when serializer.mapping.class_metadata_factory would be registered too.

@dunglas dunglas force-pushed the fwbundle_propinf_srlzrextrctr branch from 8b17199 to ac529c7 Compare January 26, 2016 18:00
@fabpot
Copy link
Member

fabpot commented Feb 2, 2016

👍

@xabbuh
Copy link
Member

xabbuh commented Feb 2, 2016

How do we deal with dependencies now? The Serializer configuration would now require to have the PropertyInfo component in 3.1 or higher. Should we remove the service when an older version of the component is present?

@dunglas dunglas closed this in 0bacaba Feb 2, 2016
@dunglas dunglas deleted the fwbundle_propinf_srlzrextrctr branch February 2, 2016 10:59
@fabpot fabpot mentioned this pull request May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants