Project

General

Profile

Refactor #34557

Improve GraphQL association resolving

Added by Ondřej Ezr 4 months ago. Updated 4 months ago.

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

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 4 months 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 4 months 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 4 months ago

  • Fixed in Releases 3.3.0 added

#3 Updated by Ondřej Ezr 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF