Refactor #34557
Improve GraphQL association resolving
Description
Resolver should be more dynamic so it is able to resolve for even wrapped objects.
Associated revisions
History
#1
Updated by The Foreman Bot about 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9134 added
#2
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases 3.3.0 added
#3
Updated by Ondřej Ezr about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|72773a60cfb06958f8f52f4cb4a5fcf376717312.
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.