Closed richardzilincikPantheon closed 1 year ago
what about Pydantic btw? Isn't it suitable for this case? That would also work, but our requirements are quite simple, writing equivalent checks in pydantic and similar tools would be more verbose, and I think
json_checker.py
is small enough that it shouldn't be a significant maintenance burden.
That would also work, but our requirements are quite simple, writing equivalent checks in pydantic and similar tools would be more verbose, and I think
json_checker.py
is small enough that it shouldn't be a significant maintenance burden.
Okay, it may be enough for now, but if the functionality of json_checker.py
starts growing then it'll be the right decision to switch to an already well-documented and well-tested tool like Pydantic
Yep, I agree.
Codecov Report
86.56% <86.56%> (ø)
99.59% <96.15%> (-0.27%)
90.15% <96.42%> (-1.91%)
96.92% <96.77%> (-0.22%)
96.96% <96.96%> (ø)
99.38% <98.14%> (-0.42%)
65.47% <100.00%> (-1.06%)
69.68% <100.00%> (-0.08%)
99.01% <100.00%> (-0.49%)