{"action":"created","issue":{"url":"https://api.github.com/repos/jhollingworth/marty/issues/68","labels_url":"https://api.github.com/repos/jhollingworth/marty/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/jhollingworth/marty/issues/68/comments","events_url":"https://api.github.com/repos/jhollingworth/marty/issues/68/events","html_url":"https://github.com/jhollingworth/marty/issues/68","id":55095338,"number":68,"title":"Unclear on constants example in the docs","user":{"login":"aidos","id":91913,"avatar_url":"https://avatars.githubusercontent.com/u/91913?v=3","gravatar_id":"","url":"https://api.github.com/users/aidos","html_url":"https://github.com/aidos","followers_url":"https://api.github.com/users/aidos/followers","following_url":"https://api.github.com/users/aidos/following{/other_user}","gists_url":"https://api.github.com/users/aidos/gists{/gist_id}","starred_url":"https://api.github.com/users/aidos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aidos/subscriptions","organizations_url":"https://api.github.com/users/aidos/orgs","repos_url":"https://api.github.com/users/aidos/repos","events_url":"https://api.github.com/users/aidos/events{/privacy}","received_events_url":"https://api.github.com/users/aidos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-21T23:53:31Z","updated_at":"2015-01-27T09:48:45Z","closed_at":"2015-01-26T17:28:19Z","body":"http://martyjs.org/guides/constants/index.html contains the following code snippet regarding the second argument to Constants functions:\r\n\r\n```\r\nvar UserActionCreators = Marty.createActionCreators({\r\n  deleteUser: UserConstants.DELETE_USER(function (user) {\r\n    this.dispatch(user);\r\n  }, { foo: true })\r\n});\r\nvar FooStore = Marty.createStore({\r\n  handlers: {\r\n    fooAction: { foo: true }\r\n  },\r\n  fooAction: function () {\r\n    ...\r\n  }\r\n})\r\n```\r\n\r\nIn the example it looks like by suppling a 2nd arg you're changing the signature used to identify the action in the handler registration later. So you can write `{ foo: true }` instead of `UserConstants.DELETE_USER`.\r\n\r\nIs that what's going on and if so, what's the purpose of it?\r\n"},"comment":{"url":"https://api.github.com/repos/jhollingworth/marty/issues/comments/71617892","html_url":"https://github.com/jhollingworth/marty/issues/68#issuecomment-71617892","issue_url":"https://api.github.com/repos/jhollingworth/marty/issues/68","id":71617892,"user":{"login":"aidos","id":91913,"avatar_url":"https://avatars.githubusercontent.com/u/91913?v=3","gravatar_id":"","url":"https://api.github.com/users/aidos","html_url":"https://github.com/aidos","followers_url":"https://api.github.com/users/aidos/followers","following_url":"https://api.github.com/users/aidos/following{/other_user}","gists_url":"https://api.github.com/users/aidos/gists{/gist_id}","starred_url":"https://api.github.com/users/aidos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aidos/subscriptions","organizations_url":"https://api.github.com/users/aidos/orgs","repos_url":"https://api.github.com/users/aidos/repos","events_url":"https://api.github.com/users/aidos/events{/privacy}","received_events_url":"https://api.github.com/users/aidos/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T09:48:45Z","updated_at":"2015-01-27T09:48:45Z","body":"Ok, that does make sense. Thanks.\r\n\r\nIn terms of the rules. What would happen if you queried using more advanced structures? For example, would `{server:true, notification:true}` pick up events defined as `{server:true}` as well as  `{notification:true}`?"}}