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

Cannot read property '_type' of undefined #158

Open
bidva opened this issue Aug 17, 2022 · 0 comments
Open

Cannot read property '_type' of undefined #158

bidva opened this issue Aug 17, 2022 · 0 comments

Comments

@bidva
Copy link
Contributor

bidva commented Aug 17, 2022

I found DatabaseObjects.get thrown an unrelated error if Id doesn't exist. makes more sense if handle the case if the id does not exist and returns null.

"TypeError: Cannot read property '_type' of undefined
at DatabaseObjects.get (/node_modules/@persistr/js/lib/fluent/DatabaseObjects.js:45:44)
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