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
Preferably the custom handlers should be asynchronous, too. For example: there is an API receiving JSON requests. Each request need to have 'access_token' property with valid session ID inside. Custom handler would check DB (async) for token validity and matched or failed.
This would require async validation. If the validation controller is made more async-aware, it could be done.
I had thought about this in the context of validating an e-mail address. You’d register a handler for a keyword and make some network calls to check if the address was valid.
Major change is that the validation controller, which is now recursive, needs to use callbacks everywhere if it’s invoked in async mode. Once that happens, adding new keywords is easy (famous last words, I know). I can hack on that in the dev branch next chance I get.
It would be nice to be able to register new keywords and their respective handlers.
The text was updated successfully, but these errors were encountered: