Skip to content

Allow Customers to set Initial Store State on Project Genesis #1962

@jiqiang90

Description

@jiqiang90

Why

Customers want to be able to insert 'genesis data' into their SubQuery project. This could include seed data or constants that they want to reference.

Description

Create some kind of Genesis handler that is always run when a project starts for the first time on a fresh database.

  • Create genesis data in Subquery projects.
  • Get called before all other handlers
  • Only called once , in metadata we could record if it been called once, it should never call again.
  • Should have access to all standard store queries

Metadata

Metadata

Assignees

No one assigned

    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