Actions
Bug #29523
closedTracker #28633: Update GraphQL to work with Rails 6
Graphql association preload doesn't work with Rails 6
Difficulty:
medium
Triaged:
Yes
Pull request:
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.
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7586 added
Updated by Ondřej Ezr almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset d2175aa0161e6e05a0474a61ea93f0f4f135a865.
Actions