mst-gql icon indicating copy to clipboard operation
mst-gql copied to clipboard

Defined actions on TodoModel are not accessible

Open alebinson opened this issue 4 years ago • 1 comments

When trying to run example #1 on aside project I bumped to few issues:

  1. action methods defined on TodoModel level(toggle) not accessible on data object returned from useQuery() hook image image

  2. 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",

alebinson avatar Apr 14 '21 06:04 alebinson

Hi @alebinson Im trying to help @jesse-savary organize all open issues... Are you still having this issue?

Benz19 avatar Nov 07 '22 18:11 Benz19