Open pepasflo opened 7 years ago
Hey! Yeah, using map
would be the correct way to do that.
As to the addition, I think that looks great. Let us mull it over for a day or two though. Recently we've had a lot of great contributions but Marshal has really started to grow beyond it's original simple and small state. Let's get some discussion @bwhiteley what do you think? I think this is a good addition.
Hey @pepasflo. I'm good to merge this. Would you be willing to write up a few tests?
@jarsen sure, good idea! I'll get this done within the next few days.
Did this get merged?
I'd like to see this merged, too!
Hey! Thanks for writing Marshal.
Consider these nested types:
I'm guessing the implementation of
Marshaling
onGroup.members
would look like this?Is that the expected way to do that, or did I miss something obvious?
This PR adds
Marshaling
onArray<Marshaling
>, so that you can do this instead: