★ wanayoo — archive 1999 https://github.com/feathersjs-ecosystem/feathers-sequelize/pull/212Nouvelle recherche | Portail wanayoo
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

Add the explicit call to setup() to initialize relations. #212

Merged
merged 1 commit into from Jun 3, 2018

Conversation

@edwardmsmith
Copy link
Contributor

@edwardmsmith edwardmsmith commented May 30, 2018

When using the test script, if you do not call setup(), then the (cli-generated service model) code

{model}.associate = function(models) {...}

never gets called and associations are never defined.

@daffl daffl merged commit c30bf40 into feathersjs-ecosystem:master Jun 3, 2018
1 check failed
1 check failed
continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
@daffl
Copy link
Member

@daffl daffl commented Jun 3, 2018

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.