New Rule: TryFunctions should only be used on low level functions without database operations #533
finnpedersenkazes
started this conversation in
Suggestions
Replies: 1 comment 1 reply
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
TryFunctions should only be used on low level functions without database operations
This is my claim. But is it true?
What do you think? Is there a reason for a new rule?
TryFunction on high level functions
When using
[TryFunction]on a function that calls other functions it becomes complicated to understand where the error happend.TryFunctions on functions with database operations
I am not sure where I picked this up, but I ether read it somewhere or someone told me.
But apparently, it should be a bad idea to have TryFunctions on functions with database operations.
Examples
Examples on how to use
[TryFunctions]from My article on TryFunctions in ALAnd the use of it.
All reactions