Project

General

Profile

Actions

Bug #29523

closed

Tracker #28633: Update GraphQL to work with Rails 6

Graphql association preload doesn't work with Rails 6

Added by Ondřej Ezr about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Rails 6 is changing behaviour of preloading associations.
It no longer assigns customly preloaded associations to the record itself and thus such associations doesn't seem preloaded.
Preloaded records are then ignored on subsequent calls to record.<association_name>.

We use custom preloading, so we need to update accordingly.

Actions #1

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7586 added
Actions #2

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases 2.1.0 added
Actions #3

Updated by Ondřej Ezr about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF