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

Add map support to GridRow #317

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add map support to GridRow #317

wants to merge 1 commit into from

Conversation

mytdragon
Copy link

I was in a situation I was returning a GridRow with a different Message type so I needed to map them to the type I needed. Since GridRow is basically a Vec<Element>, I just iterate the elements and call Element::map function.

Copy link
Collaborator

@genusistimelord genusistimelord left a comment

Choose a reason for hiding this comment

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

ill accept this change. looks good.

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

Successfully merging this pull request may close these issues.

2 participants