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

ObjectForPrimaryKey passed into CurrentUser crashes #4431

Closed
sync-by-unito bot opened this issue Mar 20, 2022 · 1 comment · Fixed by #4432
Closed

ObjectForPrimaryKey passed into CurrentUser crashes #4431

sync-by-unito bot opened this issue Mar 20, 2022 · 1 comment · Fixed by #4432
Assignees

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Mar 20, 2022

[BUG] If you are using objectForPrimaryKey and you pass in the currentUser instead of currentUser.id as the primary key, it will crash

@sync-by-unito
Copy link
Author

sync-by-unito bot commented Mar 20, 2022

Current behavior is to throw an exception (Property must be of type 'object_id', got ([object Object])) and I don't see a crash.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant