mleku on Nostr: haha ...
haha
https://github.com/fiatjaf/eventstore/blob/d883fb2ffe3ac5c94aa536cb5d409273139f3371/badger/query_planner.go#L52
see this piece of code
when there is "id" field in a filter, it overrides everything
but it proves my point about what i've been saying about the filter query, ID queries are a separate API and muddling them together is just retarded
if you read further through it, you see that authors, kinds and tags go together
and then it has a clause that just handles tags
and then one that just handles kinds
and then a default clause that just matches everything
tell me that is not a broken API, without saying it's a broken API
harr harr
simplified nostr api is going to make building clients for nostr so much simpler
https://github.com/fiatjaf/eventstore/blob/d883fb2ffe3ac5c94aa536cb5d409273139f3371/badger/query_planner.go#L52
see this piece of code
when there is "id" field in a filter, it overrides everything
but it proves my point about what i've been saying about the filter query, ID queries are a separate API and muddling them together is just retarded
if you read further through it, you see that authors, kinds and tags go together
and then it has a clause that just handles tags
and then one that just handles kinds
and then a default clause that just matches everything
tell me that is not a broken API, without saying it's a broken API
harr harr
simplified nostr api is going to make building clients for nostr so much simpler