forked from kadirahq/fast-render
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow change/remove of other pubs docs to fix kadirahq#142
Change PublishContext.changed() and PublishContext.removed() to ensure that the collection exists, and if there isn't a doc with the requested id in the current publish context, to look for one that was published in another publish context. If one is found, changed() adds the doc to the current publish context and removed() does nothing. If there isn't, both throw the same errors that would be thrown by the merge box.
- Loading branch information
Showing
2 changed files
with
131 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters