Hello, Riskified, I following this example:
https://github.com/Riskified/java_sdk/blob/master/riskified-sample/src/main/java/com/riskified/samples/orderClient/JsonClient.java
Order fields: "name", "updated_at" in the documentation both marked as optional, but whenRiskifiedClient is created with Validation.ALL, the request client.createOrder(order) fails with com.riskified.validations.FieldBadFormatException because these two fields not set. They are not set in your official sample too (link above).
Is Validation.ALL mode is meant for production use, or only for testing purposes? Is there a validation mode for production? Why Validation.ALL demands these two optional fields to be set?
Hello, Riskified, I following this example:
https://github.com/Riskified/java_sdk/blob/master/riskified-sample/src/main/java/com/riskified/samples/orderClient/JsonClient.java
Order fields: "name", "updated_at" in the documentation both marked as optional, but whenRiskifiedClient is created with Validation.ALL, the request client.createOrder(order) fails with com.riskified.validations.FieldBadFormatException because these two fields not set. They are not set in your official sample too (link above).
Is Validation.ALL mode is meant for production use, or only for testing purposes? Is there a validation mode for production? Why Validation.ALL demands these two optional fields to be set?