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
I'm seeing the same issue as @nakorndev. It looks like whenever the processor is an async function, it is called an extra time with a value of '{}', which causes junk data to be stored in the DB. I tested this using a function similar to:
processors: {
password: async (value) => {
console.log(value + ' is a ' + (typeof value)); // {} is a string
return value;
}
}
If I remove "async" and try again I do not see this issue.
Sorry for my English. But the document is lack about using asynchronous programming.
So, I was tried with below code
In database will not set any data as
hashed
resolve onawait
statement. But instead it's work with return promise then processors will resolve itself.Thanks.
The text was updated successfully, but these errors were encountered: