hzrd149 on Nostr: This is me attempting to design a pattern for a "query" system that can be used for ...
This is me attempting to design a pattern for a "query" system that can be used for requesting user profiles and requesting a users WoT
They seem like very different things but at the end of the day both things need to load events from relays and then process those events into some kind of model that the view can render
Published at
2025-05-22 16:27:25Event JSON
{
"id": "45180b527862b44d0c90b2d2ee0230a069adf040df292f58ce21fdcdccd33f7c",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1747931245,
"kind": 1,
"tags": [
[
"e",
"3600b705e9f8d53d5c6166048b3bd085723dffb41e825db57eba81aa7c249901",
"wss://nostrue.com/",
"root",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
],
[
"e",
"3600b705e9f8d53d5c6166048b3bd085723dffb41e825db57eba81aa7c249901",
"wss://nostrue.com/",
"reply",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"wss://nostrue.com/"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "This is me attempting to design a pattern for a \"query\" system that can be used for requesting user profiles and requesting a users WoT\nThey seem like very different things but at the end of the day both things need to load events from relays and then process those events into some kind of model that the view can render",
"sig": "dde48bcb4e13231de7e78032437557176ab395f43347a3c23f1b73983148430b28282131f95c3bccbf0591529dab7ecd93dd41ad368ad4347e34d0b892c1bfb8"
}