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

Middleware as a mass noun #4

Closed
wants to merge 1 commit into from
Closed

Middleware as a mass noun #4

wants to merge 1 commit into from

Conversation

mcaskill
Copy link
Member

Changes:

  • Corrected "middlewares" to "middleware"
  • Simplified middleware configset, the "middleware/" prefix is unnecessary for container keys.
    By dropping the prefix, we take better advantage of our snake_case v. CamelCase features if ever we eventually upgrade to a more mature (and real) dependency injection container
  • Replaced RuntimeException with ContainerValueNotFoundException when middleware not found to be more in line with PSR-11 recommendations
  • Updated README with service container definitions and usage for middleware

@mcaskill mcaskill requested a review from mducharme June 29, 2017 17:06
@coveralls
Copy link

coveralls commented Jun 29, 2017

Coverage Status

Coverage remained the same at 23.424% when pulling 5cff40b on mcaskill-middleware into f4d17a1 on master.

Changes:
- Corrected "middlewares" to "middleware"
- Simplified middleware configset, "middleware/" unnecessary
- Replaced `RuntimeException` with `ContainerValueNotFoundException` when middleware not found
- Updated README with service container definitions and usage for middleware
@mcaskill
Copy link
Member Author

mcaskill commented May 8, 2018

Closing this pull request because it has been inactive for over 313 days.

@mcaskill mcaskill closed this May 8, 2018
@mcaskill mcaskill deleted the mcaskill-middleware branch May 8, 2018 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants