Vitor Pamplona on Nostr: Yeah, that is definitely an ORM :) The issue with hiding how the note is encoded from ...
Yeah, that is definitely an ORM :)
The issue with hiding how the note is encoded from devs is the fact that the other devs will interfere with the chosen conversion and add their own variation to the event. It's easy to do if the conversion is the standard for everybody and enfornced by relays in some form. If not, then we are back to manipulating tag arrays by hand.
I had that structure in the early versions of Amethyst. I ended up giving up to allow the screen itself to load from and write to tag arrays directly.
Published at
2025-04-26 12:42:04Event JSON
{
"id": "8cfb9ab397a4a1b5afa0c8354680312b1f2088910bdea0fe45eecae5320fdcd4",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1745671324,
"kind": 1,
"tags": [
[
"alt",
"A short note: Yeah, that is definitely an ORM :) \n\nThe issue wit..."
],
[
"e",
"4c755d287d444f1d559e49b8677ae63e9502fe38312c046e929dd8b98c626442",
"",
"root"
],
[
"e",
"a7814d084893c59333bd5e0d1505b02e7fa080cbacd8cd5a0a701603fc89f100",
"wss://relay.damus.io/",
"reply",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"wss://vitor.nostr1.com/"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"ws://relay.jb55.com"
]
],
"content": "Yeah, that is definitely an ORM :) \n\nThe issue with hiding how the note is encoded from devs is the fact that the other devs will interfere with the chosen conversion and add their own variation to the event. It's easy to do if the conversion is the standard for everybody and enfornced by relays in some form. If not, then we are back to manipulating tag arrays by hand. \n\nI had that structure in the early versions of Amethyst. I ended up giving up to allow the screen itself to load from and write to tag arrays directly. ",
"sig": "3df4c97202abd85d957f3b43433357cd39cd74fa17602ddf974f4893e69434df20d4b0b4fd8cf9d34885771022c40682397706d9c76d431fecbf6da2770154ee"
}