AdrianP - Having recently done some work to add...
Having recently done some work to address issues logged for the
derived-data
plugin, it is clear that there is a lack of input validation in some calculations and varying approaches to what the response is when input values are deemed to be invalid.
To ensure consistency and a level of trust in the values produced by the plugin, what should be the recommended action for a calculation when the input values are deemed to be invalid:
1. Set the value of the derived paths to null
2. Return and not update the derived paths value?2 Replies
I would output
null
. A further optimisation would be limiting the rate of outputting null if the last value is also null 🤔null seems the logical best ….. and yes let the null go “stale”?
and given some recent questions in threads … can i also suggest that somewhere in the plugin config …
it indicates what the “thumbs up” means