-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
RPC: Add get objects by type endpoint #3782
Comments
Hey, I'd be interested to help out. Can you share the details of the context in this issue please? |
Here is a draft specification of the API. Please share your feedback, and I will start the implementation if we think it's good to go. |
API use case
Expected function signature and output
Pseudo code implementation
Clarifications / Assumptions
Optimizations
|
This is a very useful call, but please consider extending this to Address/Object Owned objects also: |
This endpoint is available on the rpc 2.0 implementation in graphql. Example
|
@longbowlu has pointed out a way to implement this without adding additional indexing on the objects level. We can leverage the existing events store by querying events by specific package/module and event type == 'newObject' to get all the object ids created in the module.
The current blocker is exposing the events query API, issue to track: #2067
The text was updated successfully, but these errors were encountered: