daostack / daostack/arc.js

Support Nested `where: ...` Filters

Open
#471 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
14
Forks
13
PR merge metrics
No merged PRs in 30d

Description

In parts of alchemy, they make use of nested where filters. For example: https://github.com/daostack/alchemy/blob/b91276ebe8ec1772dea088896c3e82c58b1016e5/src/components/Dao/DaoHistoryPage.tsx#L133

This should be possible through the use of `.state({...})` or `.search({...})`. An example usage may look like:
```ts
Proposal.search({ votes: { where: { ... } } })
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.