Skip to content

Dry Run Insertion #327

@GioAc96

Description

@GioAc96

Feature Description

Good afternoon. We need to implement an application that deletes all documents on a CRUD collection and replaces them with data imported from another source. However, we would like to validate the data provided by the third-party source before deleting all documents in our CRUD collection. It would be very helpful for this task if the CRUD service offered a "dry-run" option that can be specified as a request parameter on the POST endpoints (namely the POST / and POST /bulk endpoints). With this option enabled, the CRUD service would do everything it normally does, including the validation of the uploaded documents, but it would not perform the actual insertion on MongoDB.

Possible alternatives

A possible alternative would be to implement POST /validate and POST /validate/bulk endpoints which perform only the validation of the uploaded documents

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions