{"action":"created","issue":{"url":"https://api.github.com/repos/amberframework/granite-orm/issues/60","repository_url":"https://api.github.com/repos/amberframework/granite-orm","labels_url":"https://api.github.com/repos/amberframework/granite-orm/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/amberframework/granite-orm/issues/60/comments","events_url":"https://api.github.com/repos/amberframework/granite-orm/issues/60/events","html_url":"https://github.com/amberframework/granite-orm/issues/60","id":257992759,"number":60,"title":"Undefined constant Text","user":{"login":"darkwinternight","id":6072721,"avatar_url":"https://avatars1.githubusercontent.com/u/6072721?v=4","gravatar_id":"","url":"https://api.github.com/users/darkwinternight","html_url":"https://github.com/darkwinternight","followers_url":"https://api.github.com/users/darkwinternight/followers","following_url":"https://api.github.com/users/darkwinternight/following{/other_user}","gists_url":"https://api.github.com/users/darkwinternight/gists{/gist_id}","starred_url":"https://api.github.com/users/darkwinternight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkwinternight/subscriptions","organizations_url":"https://api.github.com/users/darkwinternight/orgs","repos_url":"https://api.github.com/users/darkwinternight/repos","events_url":"https://api.github.com/users/darkwinternight/events{/privacy}","received_events_url":"https://api.github.com/users/darkwinternight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-15T10:16:48Z","updated_at":"2017-09-15T10:25:39Z","closed_at":null,"author_association":"NONE","body":"I'm new to Crystal and Granite but when trying the example code, I get:\r\n\r\n```\r\nexpanding macro\r\nin macro 'property' expanded macro: macro_4515426128:567, line 4:\r\n\r\n   1.\r\n   2.\r\n   3.\r\n>  4.             @message : Union(Text | Nil)\r\n   5.\r\n   6.             def message : Union(Text | Nil)\r\n   7.               @message\r\n   8.             end\r\n   9.\r\n  10.             def message=(@message : Union(Text | Nil))\r\n  11.             end\r\n  12.\r\n  13.\r\n  14.\r\n  15.\r\n\r\nundefined constant Text\r\n```\r\n\r\nI simply created a model with \r\n\r\n```crystal\r\nfield message : Text\r\n```"},"comment":{"url":"https://api.github.com/repos/amberframework/granite-orm/issues/comments/329744033","html_url":"https://github.com/amberframework/granite-orm/issues/60#issuecomment-329744033","issue_url":"https://api.github.com/repos/amberframework/granite-orm/issues/60","id":329744033,"user":{"login":"darkwinternight","id":6072721,"avatar_url":"https://avatars1.githubusercontent.com/u/6072721?v=4","gravatar_id":"","url":"https://api.github.com/users/darkwinternight","html_url":"https://github.com/darkwinternight","followers_url":"https://api.github.com/users/darkwinternight/followers","following_url":"https://api.github.com/users/darkwinternight/following{/other_user}","gists_url":"https://api.github.com/users/darkwinternight/gists{/gist_id}","starred_url":"https://api.github.com/users/darkwinternight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkwinternight/subscriptions","organizations_url":"https://api.github.com/users/darkwinternight/orgs","repos_url":"https://api.github.com/users/darkwinternight/repos","events_url":"https://api.github.com/users/darkwinternight/events{/privacy}","received_events_url":"https://api.github.com/users/darkwinternight/received_events","type":"User","site_admin":false},"created_at":"2017-09-15T10:25:39Z","updated_at":"2017-09-15T10:25:39Z","author_association":"NONE","body":"Thank you! I did that and it is working. However, then the `README` should be changed :)"}}
{"actor":{"display_login":"darkwinternight"}}