event_store_client 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1fd97d12d7212eed5e7fef538bd4896ab2183ba223350d36f1cbc44fc2c75fc
|
4
|
+
data.tar.gz: aa7b1f637b4d9b36b532c9e7bfb22ceaa9c144acc28868bfa05658141e22d07d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b807db30af1cc618c3bcfb8f51e91fbe0a538ac99322b9e6736ab0dbc2f1b0b816d28a69a7f2996591bb481f7396dab03cc1ae6d5e1c9c9681b1342a551d880c
|
7
|
+
data.tar.gz: 6165caf9a71bdb547c45d872a216223f7f765802770ef00a978785f1882b82f1404cd8e194120c06efdd07af7255a89ffa3cd20545fc75fbc8e2d1551a3d7229
|
@@ -48,7 +48,7 @@ module EventStoreClient
|
|
48
48
|
def validate(data)
|
49
49
|
validation = schema.call(data || {})
|
50
50
|
|
51
|
-
|
51
|
+
return unless validation.errors.any?
|
52
52
|
|
53
53
|
raise(InvalidDataError.new(message: "#{schema.class.name} #{validation.errors.to_h}"))
|
54
54
|
end
|