Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Allow hyphenated-names in services - fixes #113 #114

Merged
merged 1 commit into from
Apr 15, 2016
Merged

Allow hyphenated-names in services - fixes #113 #114

merged 1 commit into from
Apr 15, 2016

Conversation

toddgeist
Copy link
Contributor

@toddgeist toddgeist commented Apr 14, 2016

This is my first PR to a popular open source project, which is awesome. But if I screwed something up please let me know :-)

There wasn't a test for the complete importService() function. Nor did I see an obvious place to put one. So instead I added a test for addImport(), and fixed that so the varName handles hyphenated-names. This seems right to me since I don't think hyphenated-names would be OK in any use of addImport()

But importService(), has another instance of the same problem. I added the fix there as well, but did NOT add a case that covers that. Not sure where to put that. However all tests do pass!.

comments? is this ok?

Closes feathersjs-ecosystem/cli#19

@daffl
Copy link
Member

daffl commented Apr 15, 2016

Absolutely! Thanks so much. I'll work on feathersjs-ecosystem/cli#20 and then make a new release.

@daffl daffl merged commit 6e27eb8 into feathersjs-ecosystem:master Apr 15, 2016
@ekryski
Copy link
Member

ekryski commented Apr 15, 2016

Wooo! Thanks for doing that @toddgeist. Even a test without asking for it ❤️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using a hyphen in service name silently fails.
3 participants