{"action":"created","issue":{"url":"https://api.github.com/repos/Yomguithereal/baobab/issues/230","labels_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/230/comments","events_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/230/events","html_url":"https://github.com/Yomguithereal/baobab/issues/230","id":74509073,"number":230,"title":"v1.2.0 Roadmap","user":{"login":"Yomguithereal","id":2571951,"avatar_url":"https://avatars.githubusercontent.com/u/2571951?v=3","gravatar_id":"","url":"https://api.github.com/users/Yomguithereal","html_url":"https://github.com/Yomguithereal","followers_url":"https://api.github.com/users/Yomguithereal/followers","following_url":"https://api.github.com/users/Yomguithereal/following{/other_user}","gists_url":"https://api.github.com/users/Yomguithereal/gists{/gist_id}","starred_url":"https://api.github.com/users/Yomguithereal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yomguithereal/subscriptions","organizations_url":"https://api.github.com/users/Yomguithereal/orgs","repos_url":"https://api.github.com/users/Yomguithereal/repos","events_url":"https://api.github.com/users/Yomguithereal/events{/privacy}","received_events_url":"https://api.github.com/users/Yomguithereal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yomguithereal/baobab/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-08T21:58:20Z","updated_at":"2015-05-09T01:05:09Z","closed_at":null,"body":"Here are the potentially upcoming features and decisions to be made for v1.2.0:\r\n\r\n## Nested facets?\r\n\r\nAs explained by @ivan-kleshnin and @RJ in #226:\r\n\r\n```js\r\nvar tree = new Baobab(\r\n  {...},\r\n  {\r\n    facets: { \r\n      persons: {\r\n        john: {...},\r\n        jack: {...}\r\n      }\r\n  }\r\n);\r\n```\r\n\r\n## Nested facets mappings?\r\n\r\n```js\r\nvar tree = new Baobab(\r\n  {...},\r\n  {\r\n    facets: {\r\n      greeting: {\r\n        cursors: {\r\n          category: {\r\n            one: ['toto'],\r\n            two: ['tata']\r\n          }\r\n        }\r\n      }\r\n    }\r\n  }\r\n);\r\n```\r\n\r\n## Variant for facets mapping?\r\n\r\n```js\r\nvar tree = new Baobab(\r\n  {...},\r\n  {\r\n    facets: {\r\n      greeting: {\r\n        cursors: [\r\n          ['path1'],\r\n          ['path2']\r\n        ],\r\n        get: function(var1, var2) {\r\n        \r\n        }\r\n      }\r\n    }\r\n  }\r\n);\r\n```\r\n\r\n## The $cursor conundrum\r\n\r\nShould the `$cursor` feature remain (I wouldn't break and go v2 on this since this feature is probably not very used)?\r\n\r\n## A splice polymorphism\r\n\r\nPossibility to pass function and descriptor object in the index argument of the splice method.\r\n\r\n## Memoizing nested reference by cursor or better nested accessor\r\n\r\nRelated to #200.\r\n\r\n## Should syncwrite become standard?\r\n\r\nThe question remains open."},"comment":{"url":"https://api.github.com/repos/Yomguithereal/baobab/issues/comments/100404553","html_url":"https://github.com/Yomguithereal/baobab/issues/230#issuecomment-100404553","issue_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/230","id":100404553,"user":{"login":"nthtran","id":1214699,"avatar_url":"https://avatars.githubusercontent.com/u/1214699?v=3","gravatar_id":"","url":"https://api.github.com/users/nthtran","html_url":"https://github.com/nthtran","followers_url":"https://api.github.com/users/nthtran/followers","following_url":"https://api.github.com/users/nthtran/following{/other_user}","gists_url":"https://api.github.com/users/nthtran/gists{/gist_id}","starred_url":"https://api.github.com/users/nthtran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nthtran/subscriptions","organizations_url":"https://api.github.com/users/nthtran/orgs","repos_url":"https://api.github.com/users/nthtran/repos","events_url":"https://api.github.com/users/nthtran/events{/privacy}","received_events_url":"https://api.github.com/users/nthtran/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T01:05:09Z","updated_at":"2015-05-09T01:05:09Z","body":":+1: for nested facets. I thought it was logical that they could be nested similarly to cursors, only to find out it wasn't possible."}}