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

chore: BREAKING use waitForResource util function #1164

Merged
merged 4 commits into from
Oct 2, 2023

Conversation

Laurin-W
Copy link
Contributor

@Laurin-W Laurin-W commented Sep 28, 2023

for activitypub.actor and activitypub.object awaitCreateComplete

As suggested by @srosset81 in activitypods/activitypods#87 (comment).

I made a small change compared to the original: Instead of checking, if the required fields are undefined result[key] === undefined, I adopted your original check using Object.keys(result).includes

Breaking changes ⚠️

activitypub.object.awaitCreateComplete has been replaced with ldp.resource.awaitCreateComplete

Copy link
Contributor

@srosset81 srosset81 left a comment

Choose a reason for hiding this comment

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

Since removing the activitypub.object.awaitCreateComplete is a breaking change, it should be merged on the next branch. (You should also indicate breaking changes in the PR description). This way we will be in sync with your other PR (activitypods/activitypods#89) which points also to the next branch.

@Laurin-W Laurin-W force-pushed the chore/improve-awaitCreateComplete-action branch from 2c34796 to f598f2d Compare September 30, 2023 10:38
@Laurin-W Laurin-W changed the base branch from master to next September 30, 2023 10:38
@Laurin-W Laurin-W changed the title chore: use waitForResource util function chore: BREAKING use waitForResource util function Sep 30, 2023
@srosset81 srosset81 merged commit c455306 into next Oct 2, 2023
@srosset81 srosset81 deleted the chore/improve-awaitCreateComplete-action branch October 2, 2023 12:45
@srosset81 srosset81 mentioned this pull request Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants