{"action":"closed","issue":{"url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/246","labels_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/246/comments","events_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/246/events","html_url":"https://github.com/aldeed/meteor-collection2/issues/246","id":99054787,"number":246,"title":"RangeError: Maximum call stack size exceeded","user":{"login":"shactdeveloper","id":12840136,"avatar_url":"https://avatars.githubusercontent.com/u/12840136?v=3","gravatar_id":"","url":"https://api.github.com/users/shactdeveloper","html_url":"https://github.com/shactdeveloper","followers_url":"https://api.github.com/users/shactdeveloper/followers","following_url":"https://api.github.com/users/shactdeveloper/following{/other_user}","gists_url":"https://api.github.com/users/shactdeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/shactdeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shactdeveloper/subscriptions","organizations_url":"https://api.github.com/users/shactdeveloper/orgs","repos_url":"https://api.github.com/users/shactdeveloper/repos","events_url":"https://api.github.com/users/shactdeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/shactdeveloper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aldeed/meteor-collection2/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-04T20:26:56Z","updated_at":"2015-08-27T01:54:04Z","closed_at":"2015-08-27T01:54:04Z","body":"Hello, im trying to implement relationships with this code:\r\nManufacturers = new Mongo.Collection('manufacturers');\r\nManufacturers.attachSchema(new SimpleSchema({\r\n    name: {\r\n      type: String\r\n    }\t\r\n}));\r\n\r\nColors = new Mongo.Collection('colors');\r\nColors.attachSchema(new SimpleSchema({\r\n    name: {\r\n      type: String\r\n    }\r\n}));\r\n\r\n\r\nCars = new Mongo.Collection('car');\r\nCars.attachSchema(new SimpleSchema({\r\n    manufacturer: {\r\n      type: Manufacturers\r\n    },\r\n    color: {\r\n      type: Colors,\r\n      optional: true\r\n    }\t\r\n}));\r\n\r\n\r\nand I'm having this error:\r\n\r\n/home/rafa93br/.meteor/packages/meteor-tool/.1.1.4.p2mczn++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245\r\n\t\t\t\t\t\tthrow(ex);\r\n\t\t\t\t\t\t      ^\r\nRangeError: Maximum call stack size exceeded\r\nExited with code: 8\r\nYour application is crashing. Waiting for file change.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nAm I'm doing something wrong? :("}}