Currently both empty routeKey and rawPath is expected to throw an error (as declared in index.test.ts),
However, by logic, if we use passThrough, it should pass everything down to the defaultRoute (legacy code) to handle, including empty route-indentifing keys, because they could use some other prop to process through sdk invokation or Lambda's Test Invoke.
Currently both empty
routeKey
andrawPath
is expected to throw an error (as declared inindex.test.ts
),However, by logic, if we use passThrough, it should pass everything down to the defaultRoute (legacy code) to handle, including empty route-indentifing keys, because they could use some other prop to process through sdk invokation or Lambda's Test Invoke.