Skip to content

Allow BulkInsertSafe module to return all columns of a relation

What does this MR do and why?

Currently, the BulkInsertSafe module can only return the IDs of the records which makes it not useful for the Ingestion service classes introduced recently. With this MR, we are extending the capabilities of the BulkInsertSafe module to return any column required by its client with type-casting.

After this MR, we will change the ingestion service classes to use the BulkInsertSafe module to apply the model layer validations by !72145 (merged).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports