Skip to content

BE-6875 Additional changes to ingest KD folder data#135

Merged
hleekeeper merged 2 commits intofeature-kd-v1from
be-6875
May 6, 2026
Merged

BE-6875 Additional changes to ingest KD folder data#135
hleekeeper merged 2 commits intofeature-kd-v1from
be-6875

Conversation

@hleekeeper
Copy link
Copy Markdown
Contributor

No description provided.

@hleekeeper hleekeeper changed the base branch from main to feature-kd-v1 May 4, 2026 14:42
@hleekeeper hleekeeper changed the title BE-6875 [WIP] BE-6875 May 4, 2026
Comment thread keeperapi/src/vault.ts
parentKind: 'keeper_drive_folder',
childKind: 'record',
childUid: recordUid,
})
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Why do we need this?

When a KD folder is removed, all its child resources should be wiped altogether. However, since the delete operation takes place before the dependency removal, when the record is removed from the folder, the folder data is already cleaned up and the consumer app fails to identify the kind based off of the uid. This will remove the burden of consumer apps figuring out the resource type out of the uid.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is such a good idea that it's maybe worth making this a breaking change (rather than string | RemovedDependency, make children just a set of RemovedDependency). The guessing we have to do on the BE side is no fun and probably caused some bugs. Something to consider (of course all the other dependency additions would have to be updated)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah just wanted to avoid big changes. I'll create a Jira ticket for this tho https://keeper.atlassian.net/browse/BE-7544.

@hleekeeper hleekeeper changed the title [WIP] BE-6875 BE-6875 Additional changes to ingest KD folder data May 6, 2026
Comment thread keeperapi/src/vault.ts
parentKind: 'keeper_drive_folder',
childKind: 'record',
childUid: recordUid,
})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is such a good idea that it's maybe worth making this a breaking change (rather than string | RemovedDependency, make children just a set of RemovedDependency). The guessing we have to do on the BE side is no fun and probably caused some bugs. Something to consider (of course all the other dependency additions would have to be updated)

@hleekeeper hleekeeper merged commit e46c20f into feature-kd-v1 May 6, 2026
3 checks passed
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.

3 participants