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

setHasOne is undefined in manager.js #10

Closed
alechirsch opened this issue Aug 10, 2016 · 0 comments
Closed

setHasOne is undefined in manager.js #10

alechirsch opened this issue Aug 10, 2016 · 0 comments

Comments

@alechirsch
Copy link
Contributor

One of my relationships on a model uses the bookshelf hasOne relationship. This relationships type is not defined in bookshelf-manager.

Unhandled rejection TypeError: Cannot read property 'bind' of undefined
at Manager. (node_modules/bookshelf-manager/lib/manager.js:252:35)

I looked at the code and could not find a setHasOne function.

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