Skip to content

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

Description

@Marak

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions