Skip to content

Add tryUpdate for update without RLS context - #1

Closed
lionello wants to merge 4 commits into
masterfrom
feat/tryUpdate
Closed

lionello wants to merge 4 commits into
masterfrom
feat/tryUpdate

Conversation

@lionello

Copy link
Copy Markdown

Some code paths have no RLS context initialized and update would throw. tryUpdate will return false instead of throw an exception.

@lionello
lionello requested a review from adisbladis August 13, 2018 13:19
@adisbladis

Copy link
Copy Markdown
Contributor

I'm not sure tryUpdate is worthwhile to have since that would mean that every call would have a corresponding try-call.

@adisbladis adisbladis closed this Aug 22, 2018
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

Successfully merging this pull request may close these issues.

2 participants