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

paramsForServer and paramsFromClient is not a function #2

Closed
juancampuzano opened this issue Apr 2, 2020 · 6 comments
Closed

paramsForServer and paramsFromClient is not a function #2

juancampuzano opened this issue Apr 2, 2020 · 6 comments

Comments

@juancampuzano
Copy link

const { paramsForServer } = require('feathers-graph-populate'); const { paramsFromClient } = require('feathers-graph-populate');

When I use either of the two requires, I get the following error:

Uncaught TypeError: paramsForServer is not a function

@marshallswain
Copy link
Owner

Thanks for reporting, @juancampuzano! Somehow I failed to include them in the repo. Please try again with feathers-graph-populate@1.0.4. paramsForServer is a CommonJS module. Please let me know if you have any issues using it.

@juancampuzano
Copy link
Author

Thanks for your Help! Now I am getting the following error:
TypeError: makeShallowPopulate is not a function at deepPopulateHook

@marshallswain
Copy link
Owner

Weird. I don’t know how this is working for me in my project. I’ll get back to you.

@marshallswain
Copy link
Owner

@juancampuzano, please upgrade to the latest patch release, I believe it's feathers-graph-populate@1.0.5. Should be fixed, now

@juancampuzano
Copy link
Author

@marshallswain Thank you very much, I will review and I will tell you.

@marshallswain
Copy link
Owner

@juancampuzano I'm going to go ahead and close this. Please let me know if there's still an issue.

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

2 participants