-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
First of all, thanks for sharing your smart idea!
But, IMO, to be used in production, it requires some important improvements:
- It should be implemented as a typescript module and re-export only
typedPathfunction inindex.ts. The implementation detail should be private and placed in separated files. - Currently, separator is hard-coded as a dot. In real life, we also want to use slash
/to build url or file path. So the separator should be configurable. - How to insert a dynamic value in the middle of the path? For example, how can we build url
/users/:username/posts/:postId/comments?
Best regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels