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

Allow TemplateDict#map_each callback to return a list of strings #17008

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Dec 13, 2022

Returning a list of strings is needed to get correct uniquify semantics when a value may expand to multiple strings.

Work towards #1920

Returning a list of strings is needed to get correct `uniquify`
semantics when a value may expand to multiple strings.
@fmeum fmeum force-pushed the template-dict-map-each-list branch from 0523af9 to 464f0c1 Compare December 13, 2022 10:47
@fmeum
Copy link
Collaborator Author

fmeum commented Dec 13, 2022

@hvadehra Could you review? I noticed that I need this functionality.

@sgowroji sgowroji added team-Rules-CPP Issues for C++ rules awaiting-review PR is awaiting review from an assigned reviewer area-java-Starlark_API java_common, JavaInfo and other Starlark Java modules and removed team-Rules-CPP Issues for C++ rules labels Dec 13, 2022
@fmeum fmeum deleted the template-dict-map-each-list branch December 16, 2022 16:02
@fmeum
Copy link
Collaborator Author

fmeum commented Dec 16, 2022

@bazel-io flag

@bazel-io bazel-io added the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Dec 16, 2022
@Wyverald
Copy link
Member

@bazel-io fork 6.1.0

@bazel-io bazel-io removed the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Dec 19, 2022
ShreeM01 added a commit that referenced this pull request Jan 26, 2023
…17306)

Returning a list of strings is needed to get correct `uniquify` semantics when a value may expand to multiple strings.

Work towards #1920

Closes #17008.

PiperOrigin-RevId: 495868960
Change-Id: I1f0ec560fd783846e916a07bb524dd2179f7c535

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
hvadehra pushed a commit that referenced this pull request Feb 14, 2023
Returning a list of strings is needed to get correct `uniquify` semantics when a value may expand to multiple strings.

Work towards #1920

Closes #17008.

PiperOrigin-RevId: 495868960
Change-Id: I1f0ec560fd783846e916a07bb524dd2179f7c535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-java-Starlark_API java_common, JavaInfo and other Starlark Java modules awaiting-review PR is awaiting review from an assigned reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants