LimeChain / matchstick

🔥 Unit testing framework for Subgraph development on The Graph protocol. ⚙️
MIT License
207 stars 17 forks source link

Update logStore function #402

Closed dimitrovmaksim closed 11 months ago

dimitrovmaksim commented 12 months ago

logStore():

The potential change to the store will affect what the logStore() function prints to the console. There's several ways to approach it:

  1. Dynamically construct the derived fields when executing logStore()
  2. Add a logEntity(entityId) function that will only print the specified entity and it's relations
  3. Add an optional boolean parameter to logStore() that if set to true will also construct and print the relations
  4. Extend logStore() to accept a set of options {related: true, entityId: 123} that will combine 2. and 3