Skip to content
New issue

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

Exporting utils.js #58

Closed
ghost opened this issue Aug 1, 2016 · 4 comments
Closed

Exporting utils.js #58

ghost opened this issue Aug 1, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 1, 2016

Hey guys,

Would be nice if we could access the utils.js file, to use it when extending some of the methods instead of duplicating it. Or maybe it's already possible in another way than going to look for it through the path in node_modules ?

Thanks

@daffl
Copy link
Member

daffl commented Aug 2, 2016

Couldn't you just require('feathers-sequelize/src/utils')? Personally I don't think there is anything in there that should be needed externally on a regular basis so I'm not sure it needs to be exposed explicitly.

@ghost
Copy link
Author

ghost commented Aug 2, 2016

I tried it this way, but it's not working, i get this error : Error: Cannot find module 'feathers-sequelize/src/utils' (and i can load feathers-sequelize just fine).

@daffl
Copy link
Member

daffl commented Aug 2, 2016

Oh yes, it's feathers-sequelize/lib/utils

@ghost
Copy link
Author

ghost commented Aug 2, 2016

Yes, perfect. Thanks a lot.

@ghost ghost closed this as completed Aug 2, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant