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 manage to implement my own coercion rules. The values are correctly coerced. However, I have to define in the schema all the types that may be coerced or an error is thrown by reportTypeError. Here is how I format the error in Nikita:
Error: NIKITA_SCHEMA_VALIDATION_CONFIG: one error was found in the configuration of root action: #/definitions/config/properties/from_string/type config/from_string must be number, type is ["number"].
Please provide us a way to disable calling reportTypeError. For information, this issue has bugged me (and my libraries) for years and is related to issue #1437.
The text was updated successfully, but these errors were encountered:
wdavidw
changed the title
Disable reportTypeError to enable user to implme
Disable reportTypeError to enable users to implement their own coercion rule
Jan 2, 2024
I manage to implement my own coercion rules. The values are correctly coerced. However, I have to define in the schema all the types that may be coerced or an error is thrown by
reportTypeError
. Here is how I format the error in Nikita:Please provide us a way to disable calling
reportTypeError
. For information, this issue has bugged me (and my libraries) for years and is related to issue #1437.The text was updated successfully, but these errors were encountered: