Fixes #34557 - improve association resolver
Why: resolve proc is deprecated and not dynamic enough as if we inherit the type it fails to recognize that.
I've come up with `record_for` on Type and Resolver goes through that method, to enable wrappers.
Fixes #34557 - improve association resolver
Why: resolve proc is deprecated and not dynamic enough as if we inherit the type it fails to recognize that.
I've come up with `record_for` on Type and Resolver goes through that method, to enable wrappers.