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
Generating a vase template project with a kebab-case project name results in inconstant naming of the service.edn file. For example, running lein new vase foo-bar creates the file resources/foo-bar_service.edn with hyphens and underscores.
I'm aware that namespaces must be separated by hyphen and have a corresponding filename separated by an underscore in order to work at all. And that the service.edn is just a file that is read and is not required to follow that patten at all and will work anyway.
I do believe it should be consistent though and sanitising the namespace as is done with clj filenames will make this file look a little less strange when generated.
Expected Behavior
Running lein new vase foo-bar creates the file resources/foo_bar_service.edn
Actual Behavior
Running lein new vase foo-bar creates the file resources/foo-bar_service.edn
I can submit a PR to fix this if this change is wanted.
The text was updated successfully, but these errors were encountered:
Description
Generating a vase template project with a kebab-case project name results in inconstant naming of the service.edn file. For example, running
lein new vase foo-bar
creates the fileresources/foo-bar_service.edn
with hyphens and underscores.I'm aware that namespaces must be separated by hyphen and have a corresponding filename separated by an underscore in order to work at all. And that the
service.edn
is just a file that is read and is not required to follow that patten at all and will work anyway.I do believe it should be consistent though and sanitising the namespace as is done with clj filenames will make this file look a little less strange when generated.
Expected Behavior
Running
lein new vase foo-bar
creates the fileresources/foo_bar_service.edn
Actual Behavior
Running
lein new vase foo-bar
creates the fileresources/foo-bar_service.edn
I can submit a PR to fix this if this change is wanted.
The text was updated successfully, but these errors were encountered: