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 integrated support for parse-service-request module #6

Open
Marak opened this issue Apr 23, 2016 · 0 comments
Open

Add integrated support for parse-service-request module #6

Marak opened this issue Apr 23, 2016 · 0 comments

Comments

@Marak
Copy link
Collaborator

Marak commented Apr 23, 2016

We should add an optional property to exported View presenter which allows for automatic parsing of incoming service request.

This parsing would be applied in the middleware based on exported presenter configuration options.

The reason we want this configurable, is that parsing the incoming request may trigger buffering, which in some streaming views might not be the right use-case.

Currently I am calling psr() method as needed per view, but this is a bit messy as it adds an additional closure to the presenter code.

see: https://github.com/bigcompany/parse-service-request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant