Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

feat: allow any key/value pair in list generator #290

Merged
merged 3 commits into from
Jul 13, 2021

Conversation

ishitasequeira
Copy link
Member

Allow any key/value pair in list generator supporting backward compatibility for values field

Fixes: #162

Signed-off : Ishita Sequeira

@ishitasequeira
Copy link
Member Author

@jgwest PTAL the PR is ready for review

Copy link
Member

@jgwest jgwest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, I'm really looking forward to this feature 😄 . I've added a few quick code tweak comments below, and one more thing: can you update the documentation under docs/Generators-List.md? Just need to change it to say that the user can now specify any key/value field they want (as long as they are strings), rather than just cluster and url.

I'm also going to do some quick manual testing to make sure it works as expected, I'll let you know if find any issues (but I'm not expecting any, the PR looks excellent)

pkg/generators/list.go Outdated Show resolved Hide resolved
pkg/generators/list.go Outdated Show resolved Hide resolved
pkg/generators/list.go Outdated Show resolved Hide resolved
pkg/generators/list.go Outdated Show resolved Hide resolved
pkg/generators/list.go Outdated Show resolved Hide resolved
Copy link
Member

@jgwest jgwest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks again @ishitasequeira!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List generator should allow any key/value pair
2 participants