-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
[MIG] base_rest, base_rest_auth_api_key, base_rest_datamodel, base_rest_demo, base_rest_pydantic, datamodel, extendable: Migration to 16.0 #313
Conversation
@StefanRijnhart I don't plan to continue to work with base_rest for my own projects (at least at this stage). I'll finalize the integration with fastapi since this new addon add a lot benefits over base_rest. |
b7b1db2
to
6cbef43
Compare
@lmignon thanks for commenting. I'm adding a warning about that during the loading of |
You can remove me as maintainer even if I could still contribute if we need it for legacy code. Into the migration you could also remove all the process that transform the code from the old api to the new one. (A warning has been added in 14.0 #270 to notify that the implicit mode is deprecated) |
ba32617
to
3b6faf0
Compare
@lmignon at this point removing obsolete code from a deprecated module does not seem worth the trouble ;-) |
d68edd3
to
c496fb1
Compare
ae6c2c4
to
b6b680e
Compare
b6b680e
to
1161d79
Compare
…st_demo, base_rest_pydantic, datamodel, extendable: pre-commit stuff
54fb080
to
d9dfb43
Compare
@lmignon thanks, I added another test now with a different parameter than |
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.
Thank you @StefanRijnhart LGTM (Code review)
…st_demo, base_rest_pydantic, datamodel, extendable: Migration to 16.0 Co-authored-by: Nikul-OSI <[email protected]>
d9dfb43
to
f240419
Compare
Thanks for the review! I squashed the fixup commits. |
@marielejeune @qgroulard Can you make a test with this RP. I have in mind that you have modules to migrate in 16 that are based on base_rest. It would be great to have an additional functional review/test. |
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.
LGTM & Functional review
"development_status": "Beta", | ||
"license": "LGPL-3", | ||
"author": "ACSONE SA/NV, " "Odoo Community Association (OCA)", | ||
"maintainers": ["lmignon"], |
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.
@lmignon, as you requested you have been removed from the list of maintainers for this module. Maybe you would like to be removed from other modules like base_rest_demo?
…odel class, but was missing in dependency
@HoangSang1510, kindly reminding you to test the latest version of this code. |
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.
Thanks for the work! LGTM (functional tests)
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Thank you to all reviewers and contributors (especially @StefanRijnhart) ! It's time to merge this huge work. |
Congratulations, your PR was merged at 49db9e6. Thanks a lot for contributing to OCA. ❤️ |
Thanks for all the reviews and to @Nikul-OSI for his part in the migration! |
I have updated to latest version, now it work perfectly in my project. Thank you very much! |
@HoangSang1510 thanks for confirming! |
Started out from #312. I assigned co-authorship of the main migration commit to @Nikul-OSI.
restapi
route type to trigger the dispatcher provided bybase_rest
as the new dispatcher registry is segmented by routetype
.original_routing
attribute of the controller methods rather than arouting
attribute. I've applied theROUTING_DECORATOR_ATTR
constant throughout the code.