{"action":"opened","issue":{"url":"https://api.github.com/repos/neumino/thinky/issues/204","labels_url":"https://api.github.com/repos/neumino/thinky/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/neumino/thinky/issues/204/comments","events_url":"https://api.github.com/repos/neumino/thinky/issues/204/events","html_url":"https://github.com/neumino/thinky/issues/204","id":64310983,"number":204,"title":"BUG: Defaults for array not supported? ","user":{"login":"gebrits","id":393259,"avatar_url":"https://avatars.githubusercontent.com/u/393259?v=3","gravatar_id":"","url":"https://api.github.com/users/gebrits","html_url":"https://github.com/gebrits","followers_url":"https://api.github.com/users/gebrits/followers","following_url":"https://api.github.com/users/gebrits/following{/other_user}","gists_url":"https://api.github.com/users/gebrits/gists{/gist_id}","starred_url":"https://api.github.com/users/gebrits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebrits/subscriptions","organizations_url":"https://api.github.com/users/gebrits/orgs","repos_url":"https://api.github.com/users/gebrits/repos","events_url":"https://api.github.com/users/gebrits/events{/privacy}","received_events_url":"https://api.github.com/users/gebrits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-25T16:20:22Z","updated_at":"2015-03-25T16:20:22Z","closed_at":null,"body":"I'm doing something like this: \r\n\r\n        tokens: type.array().default([]).schema(type.object().schema({\r\n          accessToken: type.string(),\r\n          kind: type.string()\r\n        })),\r\n\r\nShould this be supported? My goal is to start every object with an empty array of tokens. \r\n\r\nI'm seeing the behavior that all instances share the same 'tokens' -object. E.g.: when a token T is added to instance A and afterwards instance B is created, the  token T becomes part of instance B. \r\n\r\nThis cannot be intended behavior. Is this a bug, or is the way I'm defaulting to an empty array not supported? "}}