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

Performing .getEntries() before any of .get, .find, ... results in an error #111

Open
mhillerstrom opened this issue Oct 19, 2020 · 1 comment
Labels

Comments

@mhillerstrom
Copy link
Collaborator

mhillerstrom commented Oct 19, 2020

Performing a app.service('tmp').getEntries() (inherited from feathers-memory) before using any command internally executing ready() will result in a TypeError (Cannot convert undefined or null to object). The problem resolves after first command executing ready().

The problem can easily be fixed by executing ready() as part of constructor (alternatively in a new _setup()). To circumvent the problem use await app.service('tmp').ready() as part of your application initialization.

mhillerstrom added a commit to mhillerstrom/feathers-localstorage that referenced this issue Oct 19, 2020
mhillerstrom added a commit to mhillerstrom/feathers-localstorage that referenced this issue Oct 19, 2020
@stale
Copy link

stale bot commented Jun 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Apologies if the issue could not be resolved. FeathersJS ecosystem modules are community maintained so there may be a chance that there isn't anybody available to address the issue at the moment. For other ways to get help see here.

@stale stale bot added the wontfix label Jun 11, 2021
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

1 participant