paperos-labs / feedback

Just a bug and ideas board
0 stars 0 forks source link

Standing Form - Resource Creation - Merge #163

Closed danielandelin closed 2 years ago

danielandelin commented 2 years ago

Any way we can do a check on the two resources that get created and if they are the same it will only create one resource?

image

BrackCarmony commented 2 years ago

Is this on a persistent form?
If so the endpoint does allow the merging of two draft resources, Though in order to currently use that endpoint it is checking that the user is an admin on the account.

We could either setup a sister endpoint that allows draft resources to be merged so long as they are both on the same persistent form.

Pros:

Cons:

Or we could have it auto make that connection when the persistent form is submitted, it checks if it thinks the resources can be merge.

Pros:

danielandelin commented 2 years ago

@BrackCarmony What is the status on this? It seems like this is combining resources even if they aren't the same name now on live.