Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: supporting nip-09, accepting 1 filter per req message, using aggregation pipeline on req. #110

Merged
merged 7 commits into from
Jan 14, 2025

Conversation

kehiy
Copy link
Member

@kehiy kehiy commented Jan 12, 2025

Description

in this pr:

  1. we support nip-09 (only with filter tag).
  2. we only accept one filter per each request message.
  3. we process request messages using pipeline aggregation and $unionWith stage which allows us to perform the whole query using only one database call.
  4. we fixed checking until condition of the filters.
  5. we fixed the query to collections that contain multiple kinds.

Related Issue

@kehiy kehiy requested a review from ZigBalthazar January 12, 2025 19:22
@kehiy kehiy requested a review from ZigBalthazar January 14, 2025 10:12
@ZigBalthazar ZigBalthazar merged commit f082931 into dezh-tech:main Jan 14, 2025
3 checks passed
@kehiy kehiy deleted the nip-09-im-serious-this-time branch January 14, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nip-9: deletation (with filters).
2 participants