Skip to content

Conversation

@bradykeeling
Copy link

Hey Kevin!

This updates the Zend emitter package since "Zend\Diactoros\Response\SapiEmitter" is now deprecated. https://docs.zendframework.com/zend-diactoros/v1/emitting-responses/

You may want to update the Composer package reference in your article as well, as it might lead to some confusion if someone is trying to work alongside it.

Great stuff man! Super helpful.

@kevinsmith
Copy link
Owner

Sweet! Thanks for catching this. I'll take a look at it later today or tomorrow.

@kevinsmith
Copy link
Owner

Solid change, thanks! I think this is gonna have to be part of a larger code and blog post update, so I'm gonna wait a bit to pull it in.

I'm currently using Relay as the PSR-15 implementation, but it's still not out of alpha. If I'm gonna use zend-httphandlerrunner for the emitters, might as well use it for the PSR-15 implementation too. (Not entirely sure why the ZF team felt like a PSR-7 and PSR-15 implementation should be bundled together in the same package, but whatever.)

@kevinsmith kevinsmith changed the base branch from master to update-middleware-runner November 13, 2018 05:16
@kevinsmith kevinsmith merged commit 10635a8 into kevinsmith:update-middleware-runner Nov 13, 2018
@kevinsmith
Copy link
Owner

Finally updated it to use Narrowspark's emitter instead. That allows the blog post to continue showing a diverse selection of interoperable packages built by unrelated maintainers. Thanks for giving me the heads up!

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