Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Serializer::getMetadataFactory #113

Merged
merged 1 commit into from
Jul 8, 2013

Conversation

adrienbrault
Copy link
Contributor

The metadata factory can be injected into other services with the bundle. However, with the lib alone, there is no way to access the metadata factory. This solves that.

@schmittjoh
Copy link
Owner

Could we add this to the builder instead?

@adrienbrault
Copy link
Contributor Author

Hmm, the factory is instantiated in the build method, it'd be weird to store it in the builder, wouldn't it?

@schmittjoh
Copy link
Owner

Yeah, true. The proper solution would probably involve to create a builder for the metadata factory as you suggested in schmittjoh/metadata#31.

Although I'm not super happy with this extension point, I'll merge it for now; it might be removed in future versions though.

schmittjoh added a commit that referenced this pull request Jul 8, 2013
@schmittjoh schmittjoh merged commit 607e79c into schmittjoh:master Jul 8, 2013
goetas added a commit that referenced this pull request May 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants