Skip to content

feat: allow to pass values to the next function if the middleware closes the request #69

Closed
@francescovallone

Description

Description

Instead of allowing the finalization of the request using the InternalResponse object directly, Serinus will allow to pass a value in the next function and, since the RequestContext has the res property it won't be necessary to pass the InternalResponse object in the use method anymore.

Requirements

  • Allow to pass a value in the next function
  • Remove the InternalResponse from the use method signature
  • Update the documentation

Metadata

Labels

api stabilizationChanges to stabilize the API of the frameworkbreaking changeFeature or fix that break stuff in the frameworkdocumentationImprovements or additions to documentationenhancementNew feature or request

Projects

  • Status

    Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions