{"action":"closed","issue":{"url":"https://api.github.com/repos/rumkin/mongoose-map/issues/1","repository_url":"https://api.github.com/repos/rumkin/mongoose-map","labels_url":"https://api.github.com/repos/rumkin/mongoose-map/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rumkin/mongoose-map/issues/1/comments","events_url":"https://api.github.com/repos/rumkin/mongoose-map/issues/1/events","html_url":"https://github.com/rumkin/mongoose-map/issues/1","id":176228213,"number":1,"title":"how can i create a reference to other document?","user":{"login":"Giuan0","id":14121314,"avatar_url":"https://avatars.githubusercontent.com/u/14121314?v=3","gravatar_id":"","url":"https://api.github.com/users/Giuan0","html_url":"https://github.com/Giuan0","followers_url":"https://api.github.com/users/Giuan0/followers","following_url":"https://api.github.com/users/Giuan0/following{/other_user}","gists_url":"https://api.github.com/users/Giuan0/gists{/gist_id}","starred_url":"https://api.github.com/users/Giuan0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Giuan0/subscriptions","organizations_url":"https://api.github.com/users/Giuan0/orgs","repos_url":"https://api.github.com/users/Giuan0/repos","events_url":"https://api.github.com/users/Giuan0/events{/privacy}","received_events_url":"https://api.github.com/users/Giuan0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-11T07:44:07Z","updated_at":"2016-11-21T11:40:56Z","closed_at":"2016-11-21T11:40:56Z","body":"I wanna make a MongooseMap with a reference id tho other document as key, and two more variables as values... like:\nvar variable = {\n    value1: String,\n    value2:Number\n}\nvar map = new Map();\nmap.set(_someId, variable);\n\n_someId is a Schema.Types.ObjectId\nhow can a make a schema of this? \n"}}
{"actor":{"display_login":"Giuan0"}}