-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
endpoint for users to delete a project in draft status from DB #1519
Comments
@divine-comedian pls add priority |
@Reshzera Please take this issue, it's a straight forward issue and will help you to get more familiar with impact-graph. Please write test cases for below scenarios ( and if there is any scenario that I forgot to mention it, please implement them
PS If you had any questions from me, feel free to ask it here or DM me |
I've implemented the mutation ($projectId: Float!) {
deleteDraftProject(projectId: $projectId)
} Make sure to pass the Logic Overview:
However, note that a ProjectStatusHistory record will not be created because, as I talked to @mohammadranjbarz the project will be deleted from the database, there won't be a projectId to reference for this record. |
@Reshzera - since you moved this to QA is there a way for the QA to test this? if so can you please share any endpoint links or resources they might need |
@divine-comedian I spoke with @mohammadranjbarz and I don't think there is an easy way to test this issue, so I'll tag the FE guys and wait they integrate this endpoint, so QA can test this in FE. In this case, is there a correct status for this issue? |
sure thing @Reshzera - please update here once the FE issue is approved. |
Related to Giveth/giveth-dapps-v2#1271 - Users should be able to delete a project they own in draft status from the DB.
We will need an endpoint for the front-end to call to trigger this action in our DB
The text was updated successfully, but these errors were encountered: