Skip to content

feat(templates): use collections for map and remove multi index support#4094

Merged
julienrbrt merged 22 commits intomainfrom
julien/collections-map
May 8, 2024
Merged

feat(templates): use collections for map and remove multi index support#4094
julienrbrt merged 22 commits intomainfrom
julien/collections-map

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 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

// 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