How to extend app.bsky.feed.post? #3523
Unanswered
bamnet
asked this question in
How to do it?
Replies: 1 comment 3 replies
-
To use a new type in an open union field, simply define a new object type in your NSID, as bsky does. The However, when using a new type, it is not essential to create a lexicon. The main advantage of making it is that PSD can validate the contents of the field, but at this time, the implementation of lexicon resolution has not been completed, so it will not be obtained either way. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tl; dr: What's the right way to extend
app.bsky.feed.post
with additional information from a custom lexicon?Reading the Custom Schema documentation, it sounds like this should be accomplished through the
embed
property which is an open union.What's the right way to accomplish that?
Is it as easy as creating a copy of
app/bsky/feed/post.json
and modifyingembed
to include my custom lexicon, or is there a way for me to extend the existing lexicon without having to maintain my own copy of it. As the official lexicon evolves, I'm worried a locally modified copy will drift out of sync (and I only want to add an embed).Beta Was this translation helpful? Give feedback.
All reactions