Checkout Codelab.app Wiki to get started!
CRUD terms
This takes in DTO data and create a model
### Add
This adds the model to mobx cache
Currently no distinction needs to be made for create and add, since can't think of a scenario where we would need to create a model and not save to cache
This takes the model and persists it to the database
This takes form data, does some mapping, then call Create and Save
Takes external GraphQL data and hydrate the models
This is the form data, not enough for hydration. We need mappers and save default values added to become a DTO
Data + Mapper = DTO
This is the complete data enough for hydrate into a model
writeCache
exist on each model to update existing cache
add
exists on services to write data to cache