We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
withNamespace
let say:
const api = withNamespace('/v1') const affiliate = withNamespace('/affiliate') api( affiliate( post('/affiliation', affiliation) get('/dashboard', dashboard) ) )
instead of
const api = withNamespace('/v1') api( post('/affiliate/affiliation', affiliation) get('/affiliate/dashboard', dashboard) )
As of now with withNamespace it's closely the same as :
router( post('/v1/affiliate/affiliation', affiliation) get('/v1/affiliate/dashboard', dashboard) )
The other way around would be the possibility of nesting router by their namespaces.
@pedronauck
The text was updated successfully, but these errors were encountered:
No branches or pull requests
let say:
instead of
As of now with
withNamespace
it's closely the same as :The other way around would be the possibility of nesting router by their namespaces.
@pedronauck
The text was updated successfully, but these errors were encountered: