You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Call the following mutation twice for that user: mutation { recoverUsers(userIDs: [$userID]) { alwaysNil } }
Expected behavior:
The error message should say that the user is already recovered, or the request should be idempotent (with the response indicating whether an action was taken).
Steps to reproduce:
mutation { recoverUsers(userIDs: [$userID]) { alwaysNil } }Expected behavior:
The error message should say that the user is already recovered, or the request should be idempotent (with the response indicating whether an action was taken).
Actual behavior:
Postgres failure is propagated to the client:
{ "errors": [ { "message": "ERROR: duplicate key value violates unique constraint \"names_pkey\" (SQLSTATE 23505)", "path": [ "recoverUsers" ] } ], "data": { "recoverUsers": null } }