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: add filter to search proposals by labels #948

Merged
merged 2 commits into from
Oct 19, 2024

Conversation

wa0x6e
Copy link
Contributor

@wa0x6e wa0x6e commented Oct 18, 2024

Toward https://github.com/snapshot-labs/workflow/issues/254

This PR adds a new labels_in filter to proposals where query, to retrieve proposals by labels ID

Test

query { 
  proposals(where: {labels_in: ["764ca440", "ac7c86a4", "84da127c", "7bf634db"]}) {
    id 
  }
}

@wa0x6e wa0x6e marked this pull request as ready for review October 18, 2024 18:29
Copy link
Member

@ChaituVR ChaituVR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tAck

@wa0x6e wa0x6e merged commit 5df8ed1 into master Oct 19, 2024
2 checks passed
@wa0x6e wa0x6e deleted the feat-search-proposals-by-labels branch October 19, 2024 09:05
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.

2 participants