{"action":"created","issue":{"url":"https://api.github.com/repos/ovenbits/ModelRocket/issues/13","labels_url":"https://api.github.com/repos/ovenbits/ModelRocket/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ovenbits/ModelRocket/issues/13/comments","events_url":"https://api.github.com/repos/ovenbits/ModelRocket/issues/13/events","html_url":"https://github.com/ovenbits/ModelRocket/issues/13","id":121346757,"number":13,"title":"Internal property description clash when overriding","user":{"login":"argentounce","id":304203,"avatar_url":"https://avatars.githubusercontent.com/u/304203?v=3","gravatar_id":"","url":"https://api.github.com/users/argentounce","html_url":"https://github.com/argentounce","followers_url":"https://api.github.com/users/argentounce/followers","following_url":"https://api.github.com/users/argentounce/following{/other_user}","gists_url":"https://api.github.com/users/argentounce/gists{/gist_id}","starred_url":"https://api.github.com/users/argentounce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argentounce/subscriptions","organizations_url":"https://api.github.com/users/argentounce/orgs","repos_url":"https://api.github.com/users/argentounce/repos","events_url":"https://api.github.com/users/argentounce/events{/privacy}","received_events_url":"https://api.github.com/users/argentounce/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-09T21:48:58Z","updated_at":"2015-12-10T05:23:20Z","closed_at":"2015-12-10T05:23:20Z","body":"Hello all! Nice library :)\r\n\r\nCan't use `let description = PropertyArray<String>(key: \"description\")`\r\n\r\n```json\r\n    \"description\": [\r\n        \"4 claras de huevo revueltas con ½ taza de espinaca y ½ taza de champiñones\",\r\n        \"1 tortilla de maíz\",\r\n        \"½ toronja\"\r\n      ]\r\n```\r\n\r\nI know, is a collection of ingredients and it should be named different. Anyhow, in the case that something really need the name description, like in a blogpost ?\r\n\r\nSaludos"},"comment":{"url":"https://api.github.com/repos/ovenbits/ModelRocket/issues/comments/163490213","html_url":"https://github.com/ovenbits/ModelRocket/issues/13#issuecomment-163490213","issue_url":"https://api.github.com/repos/ovenbits/ModelRocket/issues/13","id":163490213,"user":{"login":"jlandon","id":4239255,"avatar_url":"https://avatars.githubusercontent.com/u/4239255?v=3","gravatar_id":"","url":"https://api.github.com/users/jlandon","html_url":"https://github.com/jlandon","followers_url":"https://api.github.com/users/jlandon/followers","following_url":"https://api.github.com/users/jlandon/following{/other_user}","gists_url":"https://api.github.com/users/jlandon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlandon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlandon/subscriptions","organizations_url":"https://api.github.com/users/jlandon/orgs","repos_url":"https://api.github.com/users/jlandon/repos","events_url":"https://api.github.com/users/jlandon/events{/privacy}","received_events_url":"https://api.github.com/users/jlandon/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T05:23:20Z","updated_at":"2015-12-10T05:23:20Z","body":"Hey @argentounce,\r\n\r\n`description` is a reserved property name for the `NSObjectProtocol` and `CustomStringConvertible` protocols, so you won't be able to use that for your model. However, the property name and JSON key can be different, so something like this would work instead:\r\n\r\n```swift\r\nlet listOfDescriptions = PropertyArray<String>(key: \"description\")\r\n```\r\n\r\nThe model's property can be named something other than \"description\", but you can continue to use \"description\" as the JSON key without any problems. Hope that helps! :)"}}