reimagined / resolve

Full stack CQRS, DDD, Event Sourcing framework for Node.js

Home Page:https://reimagined.github.io/resolve/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A few suggestions about documentation

pavsenin opened this issue · comments

Hello guys,

Most of the points below are clear for me now but were not when I started to learn Resolve.

  1. Integrate the https://github.com/superroma/redux-inspired-backend/blob/master/README.md article into documentation.
    Only after this article, I started to understand a little where I am.

  2. API > Read Models > Store > defineTable
    What are indexes?
    When indexes object contains a few elements, ReSolve creates a separate index for every property or one index with few fields?
    Are the indexes unique or non-unique? The first property in this object MUST BE unique? If docs contained this information I would save 4 hours of my time.
    Can I specify a type for the field? Which types are possible?

  3. API > Read Models > Store > find
    What does it mean { createdAt: -1 } for the sortCondition argument?