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

[Feature] Manage request header #55

Open
6 tasks
gmorel opened this issue Mar 13, 2017 · 0 comments
Open
6 tasks

[Feature] Manage request header #55

gmorel opened this issue Mar 13, 2017 · 0 comments

Comments

@gmorel
Copy link
Member

gmorel commented Mar 13, 2017

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
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