{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/bolt/issues/44","labels_url":"https://api.github.com/repos/firebase/bolt/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/firebase/bolt/issues/44/comments","events_url":"https://api.github.com/repos/firebase/bolt/issues/44/events","html_url":"https://github.com/firebase/bolt/issues/44","id":105939167,"number":44,"title":"Disallow Firebase Snapshot and String methods","user":{"login":"mckoss","id":82750,"avatar_url":"https://avatars.githubusercontent.com/u/82750?v=3","gravatar_id":"","url":"https://api.github.com/users/mckoss","html_url":"https://github.com/mckoss","followers_url":"https://api.github.com/users/mckoss/followers","following_url":"https://api.github.com/users/mckoss/following{/other_user}","gists_url":"https://api.github.com/users/mckoss/gists{/gist_id}","starred_url":"https://api.github.com/users/mckoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckoss/subscriptions","organizations_url":"https://api.github.com/users/mckoss/orgs","repos_url":"https://api.github.com/users/mckoss/repos","events_url":"https://api.github.com/users/mckoss/events{/privacy}","received_events_url":"https://api.github.com/users/mckoss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/firebase/bolt/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-11T03:33:53Z","updated_at":"2015-09-11T17:56:08Z","closed_at":null,"body":"We should not allow Firebase methods to be used in Bolt."},"comment":{"url":"https://api.github.com/repos/firebase/bolt/issues/comments/139613074","html_url":"https://github.com/firebase/bolt/issues/44#issuecomment-139613074","issue_url":"https://api.github.com/repos/firebase/bolt/issues/44","id":139613074,"user":{"login":"mckoss","id":82750,"avatar_url":"https://avatars.githubusercontent.com/u/82750?v=3","gravatar_id":"","url":"https://api.github.com/users/mckoss","html_url":"https://github.com/mckoss","followers_url":"https://api.github.com/users/mckoss/followers","following_url":"https://api.github.com/users/mckoss/following{/other_user}","gists_url":"https://api.github.com/users/mckoss/gists{/gist_id}","starred_url":"https://api.github.com/users/mckoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mckoss/subscriptions","organizations_url":"https://api.github.com/users/mckoss/orgs","repos_url":"https://api.github.com/users/mckoss/repos","events_url":"https://api.github.com/users/mckoss/events{/privacy}","received_events_url":"https://api.github.com/users/mckoss/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T17:56:08Z","updated_at":"2015-09-11T17:56:08Z","body":"No reason to use .priority at all - just use your own property `index` (or any other name of your choice):\r\n```\r\n{\r\n  \"0,0\": {\"index\": 1},\r\n  \"1,1\": {\"index\": 2}\r\n}\r\n\r\npath /gamesMoves/$gameId {\r\n  write() { prior(this) == null && this.index == getLastMove($gameId).index + 1;\r\n}\r\n\r\ngetMove(gameId) = root.gamesMoves[gameId];\r\ngetLastMove(gameId) = getMove(root.games[gameId].lastMove);\r\n```"}}