We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3319479 commit de85fc6Copy full SHA for de85fc6
src/aws_schema_registry/jsonschema.py
@@ -45,9 +45,12 @@ def fqn(self) -> str:
45
return ""
46
47
def read(self, bytes_: bytes):
48
- return orjson.loads(bytes_)
+ data = orjson.loads(bytes_)
49
+ self.validate(data)
50
+ return data
51
52
def write(self, data) -> bytes:
53
54
return orjson.dumps(data)
55
56
def validate(self, data):
0 commit comments