If you register the url / it will be placed in the lookup tree, however it's not possible to find. I think this is because of some early exits in find which will effectively short circuit if the segment array is empty; which it will be, since falsy values are filtered out.
It should be valid to register a handle at / -- it might be a special case, but it should be possible. The workaround for now is to add something else, I use /_ to the root resource.
If you register the url
/
it will be placed in the lookup tree, however it's not possible to find. I think this is because of some early exits infind
which will effectively short circuit if the segment array is empty; which it will be, since falsy values are filtered out.It should be valid to register a handle at
/
-- it might be a special case, but it should be possible. The workaround for now is to add something else, I use/_
to the root resource.