get-convex / convex-helpers

A collection of useful code to complement the official packages.
MIT License
69 stars 10 forks source link

allow empty arg for useSessionMutation too #36

Closed ianmacartney closed 1 year ago

ianmacartney commented 1 year ago

I just noticed that the session middleware now requires you pass {} as an arg if the session ID was the only arg. useSessionQuery spreads the args. Any reason mutation shouldn't?

thomasballinger commented 1 year ago

👍 no thoughts, sounds good