Project

General

Profile

Refactor #34557

Improve GraphQL association resolving

Added by Ondřej Ezr about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Resolver should be more dynamic so it is able to resolve for even wrapped objects.

Associated revisions

Revision 72773a60 (diff)
Added by Ondřej Ezr about 1 year ago

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.

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

Also available in: Atom PDF