Hacker News new | past | comments | ask | show | jobs | submit login

I don’t think I have time for a full review, but making $ext a map seems short sighted. In the example, a poll is included, great. What if you want two polls? It’s another level of indirection, but making $ext a list (unless the encoding protocol handles multiple values with the same key). This also allows for a specified ordering of extensions, provided that makes sense.



We're open to that possibility. We know the broad idea we want to apply with schema extensions, but we're still figuring out the right DX on the execution.


You're about to reinvent JSON-LD.



I'd love to know how Gargron (mastadon author) feels about json-ld.

Im just the peanut gallery but json-ld is pretty nice. Give people the right "context" & they can basically ignore that they're working woth json-ld, in a wide range of cases. But get real extensibility & interop with the other semantic web things.

Of course, writing maintaining & using the translators to flop between forms is more work!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: