This PR introduces _def as the new way to access what was previously known as default key or toScope method for serializable keys.
default and toScope continue to work, so this isn't a breaking change yet, but they are marked as deprecated and users will be warned that these functionalities will be removed in the next major version.
Tests were updated and improved on the assertions and consistency between setups, and docs were updated to use the new API and also improved with better examples
This PR introduces
_def
as the new way to access what was previously known asdefault
key ortoScope
method for serializable keys.default
andtoScope
continue to work, so this isn't a breaking change yet, but they are marked as deprecated and users will be warned that these functionalities will be removed in the next major version.Tests were updated and improved on the assertions and consistency between setups, and docs were updated to use the new API and also improved with better examples