Add to the CLI error message what to do instead of only throwing the error:
Got this error message:
› Error: Failed to delete Function `signInOrSignUpWithSocialProvider`.
› constraint failures:
› Cannot delete a Function when schema is staged
e.g. “Cannot delete a Function when schema is staged. To delete a Function run fauna schema push --active
.”
Still this situation creates problem. If I have also index changes, I would like to profite from the benefits of staging, but at the same time I can’t use it because the schema change includes a deletion. So either it would be nice if you could handle deletions also as part of staging or having an option to first stage the first part of the files and then push the deletions directly.