-
-
Notifications
You must be signed in to change notification settings - Fork 91
[17.0][FWD] endpoint: forward-port querystring params usage
#114
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
base: 17.0
Are you sure you want to change the base?
[17.0][FWD] endpoint: forward-port querystring params usage
#114
Conversation
|
Hi @simahawk, |
|
NB: tests are failing for reasons unrelated to these commits |
Compatibility w/ OCA/web-api#114
simahawk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have a test update?
| handler = self_with_user._get_handler() | ||
| try: | ||
| res = handler(request) | ||
| # In case the handler does not support params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would simply let it fail. Or if you really want you can catch a TypeError and log it. But I would just let it break. Beside, I doubt anyone did ever implement a different handler :)
|
@simahawk would it be better to make a commit in the v14 PR and port it here, or would suggest a commit here for simplicity? |
|
we can backport it later |
Forward-port of #80
Also includes renaming usages of
paramstoquerystring_params