crosswalk validates request bodies, but it might also be useful to validate response bodies. This could catch errors due to as any and other type assertions. And if you use noExtraProps when you generate your JSON Schema, it could catch issues with additional properties leaking by surprise.
Enabling this for debug builds but not prod might also be a useful strategy.
crosswalk validates request bodies, but it might also be useful to validate response bodies. This could catch errors due to
as anyand other type assertions. And if you usenoExtraPropswhen you generate your JSON Schema, it could catch issues with additional properties leaking by surprise.Enabling this for debug builds but not prod might also be a useful strategy.