You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent interfering with the bash terminal, git cli, and other third-party tool functionality.
Non-Goals
No response
Background
Route Groups are identified on the file system using parentheses, i.e. ( ). Parentheses have compatibility issues with common development tools such as bash and git because parentheses have other meaning in those tools. Often this will mean pressing the tab key to auto complete a path won't work, and for other commands such as git add, the parenthesis will need to be escaped by hand. This reduces the usability of the toolchain.
Proposal
A setting could be added to the Nest.js config file that allows a different pattern or delimiter or prefix to be specified for route groups:
ROUTE_GROUP_DELIM=% -results in %xyz% instead of (xyz)
Alternatively, a secondary path friendly indicator could be introduced, such as a prefix like "group-", group-xyz would then be a valid group.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Prevent interfering with the bash terminal, git cli, and other third-party tool functionality.
Non-Goals
No response
Background
Route Groups are identified on the file system using parentheses, i.e. ( ). Parentheses have compatibility issues with common development tools such as bash and git because parentheses have other meaning in those tools. Often this will mean pressing the tab key to auto complete a path won't work, and for other commands such as git add, the parenthesis will need to be escaped by hand. This reduces the usability of the toolchain.
Proposal
A setting could be added to the Nest.js config file that allows a different pattern or delimiter or prefix to be specified for route groups:
ROUTE_GROUP_DELIM=% -results in %xyz% instead of (xyz)
Alternatively, a secondary path friendly indicator could be introduced, such as a prefix like "group-", group-xyz would then be a valid group.
Beta Was this translation helpful? Give feedback.
All reactions