Skip to content

Declarative state & aggregations in Graph Node #3555

@azf20

Description

@azf20

Currently, if developers want their subgraphs to capture stateful or aggregate information, they have to fetch past state during mappings, manipulating the data by hand in Assemblyscript. This can lead to highly convoluted subgraph logic, and it can have a negative impact on performance.

This meta-issue tracks ongoing investigations & work to improve the developer experience when creating stateful & aggregating subgraphs.

  • Use-case definition
  • Implementation exploration
  • Developer interface exploration
  • Query time aggregation investigation
  • Schema autogeneration considerations

Use case definition

  • State
  • Totals
  • Timeseries

Reference

Prior art

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions