Labelling data sends two API requests, one to /entities and one to /files. If one of them fails, the other still made changes, and this could lead to inconsistent or corrupted data. The labelling must be a UseCase of the feature that handles all errors within and, ideally, transactions both files and entities back upon error.
Labeling data creates two requests
Labelling data sends two API requests, one to /entities and one to /files. If one of them fails, the other still made changes, and this could lead to inconsistent or corrupted data. The labelling must be a UseCase of the feature that handles all errors within and, ideally, transactions both files and entities back upon error.