{"action":"closed","issue":{"url":"https://api.github.com/repos/markmeeus/MarcelloDB/issues/18","labels_url":"https://api.github.com/repos/markmeeus/MarcelloDB/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/markmeeus/MarcelloDB/issues/18/comments","events_url":"https://api.github.com/repos/markmeeus/MarcelloDB/issues/18/events","html_url":"https://github.com/markmeeus/MarcelloDB/issues/18","id":84698145,"number":18,"title":"Collections should have names.","user":{"login":"markmeeus","id":123377,"avatar_url":"https://avatars.githubusercontent.com/u/123377?v=3","gravatar_id":"","url":"https://api.github.com/users/markmeeus","html_url":"https://github.com/markmeeus","followers_url":"https://api.github.com/users/markmeeus/followers","following_url":"https://api.github.com/users/markmeeus/following{/other_user}","gists_url":"https://api.github.com/users/markmeeus/gists{/gist_id}","starred_url":"https://api.github.com/users/markmeeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markmeeus/subscriptions","organizations_url":"https://api.github.com/users/markmeeus/orgs","repos_url":"https://api.github.com/users/markmeeus/repos","events_url":"https://api.github.com/users/markmeeus/events{/privacy}","received_events_url":"https://api.github.com/users/markmeeus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T18:12:52Z","updated_at":"2015-06-04T12:51:21Z","closed_at":"2015-06-04T12:51:21Z","body":"Currently, a type matches a collection.\r\nCollection instead should have names like this:\r\nThis way, a single collection file can have multiple collections of the same type.\r\n```cs\r\nsession[\"store_data\"].Collection<Article>(\"clothing\");\r\nsession[\"store_data\"].Collection<Article>(\"food\");\r\n```\r\n\r\nThis may enable serialization into a more generic object (maybe for data migration scenario's)\r\n```cs\r\nsession[\"store_data\"].Collection<Dictionary<string, object>>(\"clothing\");\r\n```\r\nor \r\n```cs\r\nsession[\"store_data\"].Collection<object>(\"clothing\");\r\n```"}}