-
Notifications
You must be signed in to change notification settings - Fork 599
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
Don't return profiles in reference lists/starter packs that have a block relationship with the owner #2713
Conversation
4c29ded
to
fa836f4
Compare
@@ -88,6 +114,31 @@ const presentation = ( | |||
return { list, items, cursor } | |||
} | |||
|
|||
const maybeGetBlocksForReferenceList = async (input: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may need similar logic in app.bsky.graph.getStarterPack
for starterPack.listItemsSample
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added something for that, tell me if it makes sense or not - seemed to me to make the most sense to handle it inside of hydrateStarterPacks()
.
7115c59
to
82dc44a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff 👍
…ock relationship with the owner (#2713) * proposal * clean * create seed * type * update tests * change pairs * `maybeGetBlocksForReferenceList` * add logic for filtering inside of `getStarterPack()` * move seeding to test * nits * tweak getting blocks * oops
No description provided.