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

made routes a list #464

Merged
merged 3 commits into from
Nov 10, 2018
Merged

made routes a list #464

merged 3 commits into from
Nov 10, 2018

Conversation

josephmancuso
Copy link
Member

@josephmancuso josephmancuso commented Nov 3, 2018

This PR changes all route methods to lists to best use the new boolean logic in the route provider. In addition there is also a new change of being able to add a specific method type to all methods in a route group:

RouteGroup([
    get(..),
    put(..),
    patch(..),
    post(..),
], add_methods=('OPTIONS',))

In addition to all the request methods it handles by default (GET, PUT etc) it will additionally accept the OPTIONS method as well

@coveralls
Copy link

coveralls commented Nov 3, 2018

Coverage Status

Coverage increased (+0.02%) to 89.985% when pulling 01107b0 on make-requests-a-list into 88001b7 on develop.

@josephmancuso josephmancuso merged commit 0e85e6f into develop Nov 10, 2018
@josephmancuso josephmancuso deleted the make-requests-a-list branch November 25, 2018 16:55
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