HomeSoftware Heritage

Make content_add validate its input using swh-model.

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Make content_add validate its input using swh-model.

The initial goal of this commit was to make the in-mem content_add raise
errors on input that would make postgresql error.

As a side-effect, the pgsql content_add now validate its input as well,
so clients get a nice/meaningful error instead of postgresql's error.

Details

Provenance
vlorentzAuthored on Aug 19 2019, 2:43 PM
vlorentzPushed on Oct 30 2019, 5:21 PM
Differential Revision
D1865: Make content_add validate its input using swh-model.

Commit No Longer Exists

This commit no longer exists in the repository.