Skip to content

[Feature] Manage request header #55

@gmorel

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions