FusionAuth / fusionauth-issues

FusionAuth issue submission project
https://fusionauth.io
91 stars 12 forks source link

Support `dryRun` option for testing in Import API #2882

Open jobannon opened 2 months ago

jobannon commented 2 months ago

Problem

I am testing 100K user batched into 10k users (10 batches) I want to run all the validations that FusionAuth runs, confirm my data is congruent with the FA data model for later importing. I don't want to actually import the users, only test my data. The import will happen later.

Solution

Just like I can do a softDelete, I want to do a soft import -- running only the validations. This will allow me to know if my 9/10 batch fails (in theory) without me being required to delete any users or drop the table.

Alternatives/workarounds

Drop the database during import testing.

Additional context

This field option would be for testing and data clean up only.

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.