Skip to content

Conversation

julienrbrt
Copy link
Member

Closes: #4054
Follow-up of #3707

@julienrbrt julienrbrt marked this pull request as ready for review April 25, 2024 09:22
@julienrbrt julienrbrt enabled auto-merge (squash) May 5, 2024 23:36
julienrbrt and others added 3 commits May 7, 2024 21:19
@julienrbrt julienrbrt requested a review from Pantani May 7, 2024 19:24
Copy link
Collaborator

@Pantani Pantani left a comment

Choose a reason for hiding this comment

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

LGMT

@@ -259,24 +258,31 @@ func parseTypeFields(opts addTypeOptions) (field.Fields, error) {
}

// mapGenerator returns the template generator for a map.
func mapGenerator(replacer placeholder.Replacer, opts *typed.Options, indexes []string) (*genny.Generator, error) {
func mapGenerator(replacer placeholder.Replacer, opts *typed.Options, index string) (*genny.Generator, error) {
// Parse indexes with the associated type
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// Parse indexes with the associated type
// Parse index with the associated type

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

Successfully merging this pull request may close these issues.

Possibly drop multi index support in map
2 participants