What should be used instead of the acme.User
implementation once registration.Resource
has been deprecated?
@ldez can you please provide some commentary on this?
Hi all,
I deprecated registration.Resource
because I think it's not a good abstraction of the Account
.
For now, I don't have a clear idea about the replacement, but I know that I want to replace it.
Maybe I marked registration.Resource
as deprecated too soon but I want to "freeze" changes on this structure to force us to rethink it.
I think it might be good to clarify that the intent is to freeze in the documentation and remove the deprecation warning until you are ready to deprecate it. Since modules provide versioning, if you use the library before the formal deprecation, then you'll be fine with doc strings covering intent, if you use the library after the deprecation, then you'd get the warnings from tooling. It's not a very nice user experience when my IDE throws deprecation warnings for things with no replacements.
Most helpful comment
I think it might be good to clarify that the intent is to freeze in the documentation and remove the deprecation warning until you are ready to deprecate it. Since modules provide versioning, if you use the library before the formal deprecation, then you'll be fine with doc strings covering intent, if you use the library after the deprecation, then you'd get the warnings from tooling. It's not a very nice user experience when my IDE throws deprecation warnings for things with no replacements.