mst-gql
mst-gql copied to clipboard
Defined actions on TodoModel are not accessible
When trying to run example #1 on aside project I bumped to few issues:
-
action methods defined on TodoModel level(toggle) not accessible on data object returned from useQuery() hook

-
store property todos not populated in a result of running query
relative deps in package.json are:
"graphql": "^14.6.0",
"graphql-tag": "^2.10.1",
"mobx": "^6.2.0",
"mobx-react": "^7.1.0",
"mobx-state-tree": "^5.0.1",
"mst-gql": "^0.14.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "4.0.3",
"typescript": "^4.1.2",
Hi @alebinson Im trying to help @jesse-savary organize all open issues... Are you still having this issue?