{"action":"opened","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/1302","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/1302/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/1302/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/1302/events","html_url":"https://github.com/strongloop/loopback/issues/1302","id":68543823,"number":1302,"title":"The property does not exist in my model but is saved in the database when added via POST","user":{"login":"GustavoRPS","id":516827,"avatar_url":"https://avatars.githubusercontent.com/u/516827?v=3","gravatar_id":"","url":"https://api.github.com/users/GustavoRPS","html_url":"https://github.com/GustavoRPS","followers_url":"https://api.github.com/users/GustavoRPS/followers","following_url":"https://api.github.com/users/GustavoRPS/following{/other_user}","gists_url":"https://api.github.com/users/GustavoRPS/gists{/gist_id}","starred_url":"https://api.github.com/users/GustavoRPS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GustavoRPS/subscriptions","organizations_url":"https://api.github.com/users/GustavoRPS/orgs","repos_url":"https://api.github.com/users/GustavoRPS/repos","events_url":"https://api.github.com/users/GustavoRPS/events{/privacy}","received_events_url":"https://api.github.com/users/GustavoRPS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-15T01:31:23Z","updated_at":"2015-04-15T01:31:23Z","closed_at":null,"body":"Model Exemple:\r\n\r\n    {\r\n      \"name\": \"Record\",\r\n      \"base\": \"PersistedModel\",\r\n      \"idInjection\": true,\r\n      \"properties\": {\r\n        \"date\": {\r\n          \"type\": \"date\",\r\n          \"required\": true\r\n        },\r\n        \"components\": {\r\n          \"type\": [\"object\"],\r\n          \"required\": true\r\n        }\r\n      },\r\n      \"validations\": [],\r\n      \"relations\": {},\r\n      \"acls\": [],\r\n      \"methods\": []\r\n    }\r\n\r\nPOST exemple:\r\n\r\n    {\r\n      \"date\": 23213310,\r\n      \"components\": [[\"gps\", true], [led, 0]],\r\n      \"asdasd\": \"12313123\" // This property not exist but is saved in database\r\n    }\r\n\r\nMongoDB record\r\n\r\n    {\r\n      \"date\": 23213310,\r\n      \"components\": [[\"gps\", true], [led, 0]],\r\n      \"asdasd\": \"12313123\" // This should not be here as it was not defined in the model\r\n    }\r\n"}}