I am having a small doubt, and want to have some inputs on that.
For future methods, we are not allowed to have sObjects as method params/arguments. and the reason in documentation is stated as below:
The reason why sObjects can’t be passed as arguments to future methods is because the sObject might change between the time you call the method and the time it executes.
However, we are having same feature in queueable. So does that guarantees data integrity?
If yes, how that ensures data is not overridden.
If no, why it is not extended with future only(instead of new framework).
Thanks in advance!