Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Refactors to use a response factory instead of prototype #31

Conversation

weierophinney
Copy link
Member

@weierophinney weierophinney commented Feb 26, 2018

Updates to use a response factory instead of a prototype. This alleviates the need for a stream factory, and allows re-use of the ResponseInterface service with Expressive v3. It also simplifies the constructors.

TODO

  • Update documentation
  • Prepare changelog for 1.0.0alpha1

Updates to use a response factory instead of a prototype. This
alleviates the need for a stream factory, and allows re-use of the
`ResponseInterface` service with Expressive v3. It also simplifies the
constructors.
Removes unused dependencies (http-interop/http-middleware,
zend-diactoros), and updates the zend-expressive-helpers dependency to
require 5.0.0alpha3 or above (to ensure compatibility). To do so, it
requires a minimum stability of alpha.
Copy link
Member

@michalbundyra michalbundyra left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Also discovered a number of other general changes that were necessary:

- Docs were still refering to http-interop; updated to PSR-15.
- Docs were detailing middleware, where request handlers were more appropriate.
- Docs were using http URIs for PHP-FIG links; updated to https.
- Added more links to FIG specifications.
@weierophinney weierophinney merged commit 026858f into zendframework:release-1.0.0 Feb 27, 2018
@weierophinney weierophinney deleted the feature/response-factory branch February 27, 2018 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants