{"action":"created","issue":{"url":"https://api.github.com/repos/omcljs/om/issues/619","repository_url":"https://api.github.com/repos/omcljs/om","labels_url":"https://api.github.com/repos/omcljs/om/issues/619/labels{/name}","comments_url":"https://api.github.com/repos/omcljs/om/issues/619/comments","events_url":"https://api.github.com/repos/omcljs/om/issues/619/events","html_url":"https://github.com/omcljs/om/issues/619","id":134287425,"number":619,"title":"Changed parameter of nested query not being updated on root node that references it","user":{"login":"geraldodev","id":774408,"avatar_url":"https://avatars.githubusercontent.com/u/774408?v=3","gravatar_id":"","url":"https://api.github.com/users/geraldodev","html_url":"https://github.com/geraldodev","followers_url":"https://api.github.com/users/geraldodev/followers","following_url":"https://api.github.com/users/geraldodev/following{/other_user}","gists_url":"https://api.github.com/users/geraldodev/gists{/gist_id}","starred_url":"https://api.github.com/users/geraldodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geraldodev/subscriptions","organizations_url":"https://api.github.com/users/geraldodev/orgs","repos_url":"https://api.github.com/users/geraldodev/repos","events_url":"https://api.github.com/users/geraldodev/events{/privacy}","received_events_url":"https://api.github.com/users/geraldodev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-17T14:00:45Z","updated_at":"2016-02-17T14:15:05Z","closed_at":"2016-02-17T14:15:04Z","body":"Hi,\r\n\r\nI've trying to implement pagination and I think I've found a very hard to catch issue:\r\n\r\nWhen changing a parameter of a nested query, the fact that its not being updated on root node that references it or even the class-path->query is working fine surprisingly, aside from the fact that is hard to debug the state by just looking at root queries. When you pair the parameter change with another read, like (om/transact '[(app/next-page) :grid)]  two reads are generated to the server. One with the right value and another with the old initial bounded root parameter value.\r\n\r\nPlease see attached minimal case, with further instructions.\r\n[nestedqueryparam.zip](https://github.com/omcljs/om/files/134426/nestedqueryparam.zip)\r\n\r\nRegards,\r\nGeraldo\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/omcljs/om/issues/comments/185222899","html_url":"https://github.com/omcljs/om/issues/619#issuecomment-185222899","issue_url":"https://api.github.com/repos/omcljs/om/issues/619","id":185222899,"user":{"login":"swannodette","id":13516,"avatar_url":"https://avatars.githubusercontent.com/u/13516?v=3","gravatar_id":"","url":"https://api.github.com/users/swannodette","html_url":"https://github.com/swannodette","followers_url":"https://api.github.com/users/swannodette/followers","following_url":"https://api.github.com/users/swannodette/following{/other_user}","gists_url":"https://api.github.com/users/swannodette/gists{/gist_id}","starred_url":"https://api.github.com/users/swannodette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swannodette/subscriptions","organizations_url":"https://api.github.com/users/swannodette/orgs","repos_url":"https://api.github.com/users/swannodette/repos","events_url":"https://api.github.com/users/swannodette/events{/privacy}","received_events_url":"https://api.github.com/users/swannodette/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T14:15:04Z","updated_at":"2016-02-17T14:15:04Z","body":"Please do not open issues like this without first discussing them in Slack."}}