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

Add subscription routes #3156

Closed

Conversation

rafaelbsky
Copy link
Contributor

No description provided.

@rafaelbsky rafaelbsky changed the base branch from main to bsky-subscription-dataplane December 1, 2024 18:12
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-routes branch from a2b02ef to c3f04dc Compare December 1, 2024 19:06
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-dataplane branch from a769904 to 95e5411 Compare December 1, 2024 19:51
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-routes branch from c3f04dc to 010ed82 Compare December 1, 2024 19:52
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-dataplane branch from 95e5411 to 9e11d24 Compare December 1, 2024 20:00
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-routes branch 6 times, most recently from 04d4712 to 345cca1 Compare December 1, 2024 22:55
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-dataplane branch from 9e11d24 to 521927d Compare December 2, 2024 02:37
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-routes branch from 345cca1 to 49a80c1 Compare December 2, 2024 02:40
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-dataplane branch from 521927d to 7670fe4 Compare December 2, 2024 17:12
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-routes branch from 49a80c1 to 94fb72f Compare December 2, 2024 17:13
Base automatically changed from bsky-subscription-dataplane to bsky-subscription-listener December 2, 2024 20:11
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-listener branch from 0d1f067 to 3eb091e Compare December 3, 2024 13:41
@rafaelbsky rafaelbsky force-pushed the bsky-subscription-routes branch from 94fb72f to c00498c Compare December 3, 2024 21:05
const { dids } = req

return {
subscriptionEntitlements: await db.db
Copy link
Collaborator

Choose a reason for hiding this comment

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

we want to make sure these are returned in the same order as the params

and that the response as undefined as the array item that corresponds to each param that does not have entitlements

you can find similar logic in other dataplane routes such as in the relationships file

@rafaelbsky
Copy link
Contributor Author

Closing this as we'll make change the approach a bit to do some parts of it in bsync. Parts of this code will be used in a future PR.

@rafaelbsky rafaelbsky closed this Dec 4, 2024
@rafaelbsky rafaelbsky deleted the bsky-subscription-routes branch December 4, 2024 15:07
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