Hi all,
So I’m trying to change a couple of my routers to use the glob param pattern, in order to work with nested items, e.g.:
<Route path='/category/{categoryIds...}/edit' page={CategoryEditCategoryPage} name='editCategory' />
This is working fine when I manually enter the URL, but I’m not sure if I’m getting the syntax correct when creating navigate links. In my list view I’ve got view and edit link, e.g.:
<Link to={routes.editCategory({ 'categoryIds...': category.id })}>Edit</Link>
It seems like both of these are throwing the missing parameter error (commenting them out fixes allows the page to load):
I’m guessing the param syntax isn’t correct (I can’t find any info in the docs about usage - Router | RedwoodJS Docs) but my IDE complains if I try and change it to anything else.
Thanks for any help!