Is there an option for meander to keep keys that are not specified in the pattern?
{:my-key ?my-key & ?rest}
then how would i use ?rest in the output expression?
Yes. (Sorry on my phone so hard to give a full example)
I did something like this and it works but is there a better way?
(meander/match props
{:color-scheme ?color-scheme & ?rest}
(merge {:color ?color-scheme}
?rest))With match that works. With m/rewrite you could get rid of the merge and should be able to just write {:color ?color-scheme & ?rest } for the output.
I see, thanks that works great!