Skip to content

[Feature] Manage request header #55

Description

@gmorel

Pain Point

We are able to deal with

  • Raw
  • GET
  • POST

We should be able to map and validate header too.

TODO

  • Implement Request/PureHeaderValueValidator
    • mustBeString
  • Implement Request/PragmaticHeaderValueValidator
    • mustBeUuid
  • Manage Header in AbstractPureCommandResolver
    • Extract attribute + query into a PureRequestValidator in order to ease further enhancement
      • Try to avoid train wreck
      • $this->requestValidator->queryStringValueValidator->mustBeString
  • Manage Header in AbstractPragmaticCommandResolver
    • Extract attribute + query into a PragmaticRequestValidator in order to ease further enhancement
      • Try to avoid train wreck
      • $this->requestValidator->queryStringValueValidator->mustBeUuid

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions