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

Calling new() on a Service not working #36

Closed
danpoland opened this issue Jan 4, 2018 · 1 comment
Closed

Calling new() on a Service not working #36

danpoland opened this issue Jan 4, 2018 · 1 comment
Labels

Comments

@danpoland
Copy link

When I try to call new() on my Services I get a Cannot read property 'scheme' of undefined. error. The error is being thrown in the rest method of the Resource class on the below line.

Base.forEach(this.getService().schema.relationships, (value, key) => {

Here is a screenshot of the actual console error.

capture

pablorsk added a commit that referenced this issue Jan 5, 2018
@pablorsk pablorsk added the bug label Jan 5, 2018
@pablorsk pablorsk mentioned this issue Jan 5, 2018
pablorsk added a commit that referenced this issue Jan 5, 2018
@pablorsk
Copy link
Member

pablorsk commented Jan 5, 2018

problem solved on 1.0.0-rc.7 😄

@pablorsk pablorsk closed this as completed Jan 5, 2018
pablorsk added a commit that referenced this issue Jan 5, 2018
* issue #36 fixed

* problem when save resources with undeclared services on relationships fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants