-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redesign #48
Comments
Is there some property between Domain Model, Normal Model (for reads) and View Queries?
This requires that we can
Doing this, we have a property based test making sure our views' data requirements are met. After this we need to add Layers, Routing & Reconciliation. Querying remote log should fall out from work on Layers. We can steal all of these parts from the current work on lajter. We also need React stuff. I wonder what the best way to do that is. |
To be more specific regarding the models: Model
|
Regarding normal model:
Just realized I have no idea how to model deletions with GraphQL. Something I'll have to figure out. |
Thought about root queries.
|
^ Hahaha. I just googled this and was I in for a surprise. There's no story for this, so uhm just, figure it out? It was nice to be able to just send deletions/retractions. I wonder if we can get this back with the Normal Model. Somehow describing to the backend that "I accept deletions in this way." |
Notes from textedit post clojure conj 2018 post hammock.
Has data requirements:
View
Cares about:
Does not (necessarily) care about:
Read
Local:
Mutate
Local:
[RouteParams Env MutateParams] -> ?
Remote:
remote query, such as RouteInfo (route and route-params), but otherwise
the remote mutation should contain it all?
Merge
Cares about:
Remote Query
Remote query is a merge of:
After merge, extract .
Mechanical:
Local Query
Questions:
How are queries merged?
Local Reads and Merge both care about ID specification
There's something about the property "full-name" that should be possible to do locally when there's a "first-name" and "last-name" in the GraphQL.
Regarding reverse lookup, that's a backend concern, and that's fine (it seems).
TODO:
What is the system? (model, state, logic)
Model
Domain Model
Root Queries
View Queries
Normal Model
View data, such as:
Accumulated over time
Logic:
State:
TODO:
The text was updated successfully, but these errors were encountered: