You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using exec resource wthout checking idempotency is a bad pattern, as the exec gets executed every time.
Idempotency is possible by setting one of the following parameters:
creates
onlyif
unless
refreshonly
OpenVox should let users/developers know that they are using code on bad practice.
There are two was on how to achieve this:
a lint plugin which identifies if an exec has the idempotency parameters set (out of scope for this project)
let the type check if all desired parameters are set
Describe the solution you would like
The exec type should check if any of the idempotency attributes in use and print a warning (on the agent side) to inform users about this bad practice.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Use Case
Using exec resource wthout checking idempotency is a bad pattern, as the exec gets executed every time.
Idempotency is possible by setting one of the following parameters:
OpenVox should let users/developers know that they are using code on bad practice.
There are two was on how to achieve this:
Describe the solution you would like
The exec type should check if any of the idempotency attributes in use and print a warning (on the agent side) to inform users about this bad practice.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: