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

Use blocked and not-found unions in post reply refs #2359

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

devinivy
Copy link
Collaborator

Feed item views served from the appview include a post and a reply field. The reply field contains views for the post's reply root and reply parent. Historically if the reply root/parent were missing or were blocked posts, we would simply omit the reply field entirely. With this change we will start to include it, and use the app.bsky.feed.defs#notFoundPost or app.bsky.feed.defs#blockedPost if the root/parent are missing or blocked respectively. This aligns the implementation with how the feed view lexicons were intended to be used.

Copy link
Collaborator

@dholms dholms left a comment

Choose a reason for hiding this comment

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

big yup 👍

@devinivy devinivy merged commit 2e2a97b into main Apr 8, 2024
10 checks passed
@devinivy devinivy deleted the appview-use-post-view-unions branch April 8, 2024 14:05
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