#Convex dashboard, manually running functions, option to clear arguments when switching between them

8 messages · Page 1 of 1 (latest)

outer garnet
#

I am following the convex tour chat guide.

I made 2 functions as it said. first I ran the mutation function like, which accepted 2 arguments. I ran this in the dashboard. I then ran the query function list, like this. notice the argument from the like function are preserved

#

now when I ran the list function, I got this error:

#

I was confused as I followed the guide but got this weird error, turns out the arguments pane from the mutation function was causing an issue

#

would be nice if the text inside the pane was not saved between functions by default, and there was an option to preserve it. simple frontend change

#

I also did not know an empty {} should be in the arguments box. initially I tried deleting everything in the box but that did not fix it. refreshed my page to reset it to the default {} which is when it worked

dusky path
#

Thanks @outer garnet , great feedback!

dusky path
#

@outer garnet check out the dashboard now, it prefills the arguments based on your validators. Let us know how it works out for you.