re-frame-firebase icon indicating copy to clipboard operation
re-frame-firebase copied to clipboard

Consider changing syntax of :multi

Open deg opened this issue 7 years ago • 0 comments

Consider changing the vectors into one-element maps:

So, what is now

{:firebase/multi [[:firebase/write {:path ,,,}]
                  [:firebase/push {:path ,,,}]
                  ,,,]}

would become

{:firebase/multi [{:firebase/write {:path ,,,}}
                  {:firebase/push {:path ,,,}}
                  ,,,]}

This will somewhat simplifies generator code in clients.

Ideally, do this with a check for the deprecated form, of course.

deg avatar Sep 26 '17 12:09 deg