Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

secondary_ref lookup ergonmics #58

Open
Fryguy opened this issue Jan 2, 2019 · 3 comments
Open

secondary_ref lookup ergonmics #58

Fryguy opened this issue Jan 2, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed size/m

Comments

@Fryguy
Copy link
Member

Fryguy commented Jan 2, 2019

  • secondary_ref is an odd name choice...perhaps extra_indexes, alternate_indexes, lookups?
  • When you use a secondary_ref, the current syntax is
# collection def
:secondary_refs = {:by_name => %i(name)}

# in parser
collection.lazy_find({:name => "foo"}, {:ref => :by_name})

A more ergnomic syntax would be

collection.lazy_find(:by_name => {:name => "foo"})
@miq-bot miq-bot added the stale label Jul 15, 2019
@miq-bot
Copy link
Member

miq-bot commented Jul 15, 2019

This issue has been automatically marked as stale because it has not been updated for at least 6 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions!

@mfeifer mfeifer added enhancement New feature or request and removed stale labels Nov 14, 2019
@miq-bot miq-bot added the stale label Jun 11, 2020
@miq-bot
Copy link
Member

miq-bot commented Jun 11, 2020

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation.

@Fryguy Fryguy removed the stale label Jun 16, 2020
@Fryguy Fryguy added the help wanted Extra attention is needed label Jun 16, 2020
@agrare agrare added the size/m label Mar 30, 2021
@miq-bot miq-bot added the stale label Feb 27, 2023
@miq-bot
Copy link
Member

miq-bot commented Feb 27, 2023

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

@Fryguy Fryguy removed the stale label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed size/m
Projects
None yet
Development

No branches or pull requests

4 participants