-
Notifications
You must be signed in to change notification settings - Fork 1
Add PSR-17 factory support #1
Description
I've been looking at PSR-18 implementations, and this looks like exactly the sort of thing I was hoping for :-)
My only issue is the dependency on a specific PSR-7 implementation.
Would you consider adding support for PSR-17 factory interfaces?
If so, I might contribute a PR.
But I wanted to check with you first, because I figured maybe having no constructor dependencies for the client itself was a stated goal for you?
(It wouldn't matter to me personally, because everything we build uses constructor injection - we already have PSR-17 factories in our standard container registrations, and intend to register your client implementation as the default service behind the PSR-18 interface.)
Introducing it would be a breaking change, since the factories would need to be provided as constructor arguments to the client.
Let me know if you're interested? :-)