-
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
Include limited viewer info on blocked post #1457
Conversation
🙏 muchos gracias this is perf
I'm not overly bothered by this, but one thing we could consider doing is
We know the did already from the URL so it doesn't violate anything, and it resolves this awkwardness. |
yeah I like that 👍 |
do you intend to make author optional? (we can get away with a breaking change here, I think). Otherwise +1 |
good call - I think we want author to be required but viewer to be optional |
Thanks! |
* include limited viewer info on block * blockedAuthor schema * make author required * merge & update codegen * patch up tests
* include limited viewer info on block * blockedAuthor schema * make author required * merge & update codegen * patch up tests
includes limited viewer info (blocking & blockedBy) on blocked posts. This helps the UI display the correct prompt.
One little point of friction: the
viewer
here is different from theviewer
on post (post v actor). Do we want to adjust the property name at all?viewerActor
feels kinda sloppy