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

[6.1.0]Allow map_each to return None in TemplateDict#add_joined #17288

Merged
merged 1 commit into from
Jan 21, 2023
Merged

[6.1.0]Allow map_each to return None in TemplateDict#add_joined #17288

merged 1 commit into from
Jan 21, 2023

Commits on Jan 20, 2023

  1. Allow map_each to return None in TemplateDict#add_joined

    Mimics the behavior of `Args#add_all`'s `map_each` callback and can be used to skip over values.
    
    Also improves the error message when the callback returns an unexpected type by including the value.
    
    Closes #16924.
    
    PiperOrigin-RevId: 493609265
    Change-Id: Ia9e42dd7edc2928a9945ce647d638fcb94037bc8
    fmeum authored and ShreeM01 committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    16cdd68 View commit details
    Browse the repository at this point in the history