-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(torii-grpc): support multiple entity models in queries & complex…
… keys clause for subscriptions + queries (#2095) * feat: start working on keys entity subscription * refactor: implementing keys subscriptions and using existing queries * refactor: finish refactor on clauses * fix: if felt bytes 0 then wildcard * fmt * feat: update torii client and fix tets * fix: clippy * refactor: do not consider overflowing key patterns * feat: fully use new keysclause & add pattern matching * feat: support pattern matching in queries * fmt * refactor: new types in torii client * clippy * fix: ignroe non matching entity keys in fixedlen * add a model to test keys clause pattern matching * fix: fix tests * fix: lock version * chore: remove debug print * fix: match fixed len for queries * chore: use regex for key pattern matching * feat: add optional model clause to keysclause * feat: add model specf to query by keys * fix: queries * feat: wrap up queries * fmt & clippy * chore: enable regexp for tests * chore: update test for new model * refactor: use array of models for keysclause --------- Co-authored-by: glihm <[email protected]>
- Loading branch information
Showing
28 changed files
with
1,865 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.