Skip to Content
Stoatly Docs
Concepts

When a pull request merges

When a pull request merges, the repository changes under everyone working on that project. Stoatly updates the live data, then checks each person's draft and each open pull request to see what the merge affected. Most of the time you don't need to do anything. When you do, Stoatly tells you where and offers a fix.

Your draft carries forward

Your unsent changes stay in your draft. They now sit on top of the new live data.

A field changed after you edited it

If a merge changes a field you also edited, Stoatly keeps your value and shows a notice: it changed from one value to another in a pull request after you edited it. You can review it on the record or on Your changes. Your value goes into the repository the next time you send it, so check that you still want it.

A change no longer applies

Some merges make part of your draft impossible. Examples are the record you edited being deleted, a field being removed, a field's type changing, an enum value being removed or a new rule, such as a maximum, that your value breaks. Stoatly marks these changes No longer applies. Open Your changes to see them, then acknowledge them or discard them.

Two records with the same name

If a merge adds a record with the same name as one you created, committing yours would overwrite it. Stoatly shows both records side by side and lets you:

  • Rename yours, with a new slug.
  • Use theirs, which turns your values into changes to their record.
  • Discard yours.

Other open pull requests

Open pull requests are updated too. A pull request that can no longer merge cleanly is marked Needs attention, with the reason and the way to fix it. The fixes are covered in Manage pull requests.

On this page