[19.0] [MIG] datamodel: Migration to 19.0#595
Open
NachoAlesLopez wants to merge 37 commits intoOCA:19.0from
Open
[19.0] [MIG] datamodel: Migration to 19.0#595NachoAlesLopez wants to merge 37 commits intoOCA:19.0from
NachoAlesLopez wants to merge 37 commits intoOCA:19.0from
Conversation
…ialisable to/from json/yaml
… to get the registry from the context since it's always available on the schema class
… fixes the incompatibility with the latest marshmallow version
…a property of datamodel instances as well as on marshmallow schema instances.
…atamodels method implementation
Into the datamodel constructor, we 'patch' the datamodel constructor to ensure the environment is propagated when a instance is created. Before this change, each time the factory was called, the init method was patched again. After some times, the maximum recusion limit was exceed. With this change we ensure that the patch is applied only once.
…low `dump_only` fields Forward port of PR https://github.com/OCA/rest-framework/pull/169/files
[UPD] rest-framework conf to include datamodel
… closed cursor exceptions) [FIX] datamodel: env of datamodel instances is not refreshed (causing closed cursor exceptions)
…st_demo, base_rest_pydantic, datamodel, extendable: pre-commit stuff
…st_demo, base_rest_pydantic, datamodel, extendable: Migration to 16.0 Co-authored-by: Nikul-OSI <nchaudhary@opensourceintegrators.com>
55b997e to
8be66aa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.