Skip to content
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

Return created/existing branch in EnsureNoteIsPresentInParent #3893

Merged

Conversation

mirrorcult
Copy link
Contributor

use case: wanted to activate an ensured branch (as well as set branch prefix even if it already existed), this makes that process less janky

if this isn't desirable, an alternative might just be an API exposing treeService.getExistingBranch which takes in parent note/child note rather than branch ID to get a branch (although this is still cleaner than having to do that afterwards)

@zadam zadam merged commit c9aab9b into zadam:master May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants