ManageIQ / ManageIQ/inventory_refresh

Allow `:manager_ref` and `:manager_ref_allowed_nil` to be passed as a singular value

Open
#54 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cleanup help wanted pinned size/s
Dominant language
Ruby
Stars
1
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The 90% case is that these are a single column (e.g. `:ems_ref` or `:uid_ems`) so allow the user to pass in a single value and wrap it in an array when building the collection.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the code that builds the collection from `:manager_ref` and `:manager_ref_allowed_nil`, then inspect how existing array values are handled. The change is done when a singular column value such as `:ems_ref` or `:uid_ems` is accepted and wrapped in an array without changing existing array behavior; add or update focused tests if the surrounding code has them.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.