{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/waterline/issues/1241","labels_url":"https://api.github.com/repos/balderdashy/waterline/issues/1241/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/waterline/issues/1241/comments","events_url":"https://api.github.com/repos/balderdashy/waterline/issues/1241/events","html_url":"https://github.com/balderdashy/waterline/issues/1241","id":119744572,"number":1241,"title":"Get Model name for an instance","user":{"login":"LeonardoGentile","id":412061,"avatar_url":"https://avatars.githubusercontent.com/u/412061?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonardoGentile","html_url":"https://github.com/LeonardoGentile","followers_url":"https://api.github.com/users/LeonardoGentile/followers","following_url":"https://api.github.com/users/LeonardoGentile/following{/other_user}","gists_url":"https://api.github.com/users/LeonardoGentile/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonardoGentile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonardoGentile/subscriptions","organizations_url":"https://api.github.com/users/LeonardoGentile/orgs","repos_url":"https://api.github.com/users/LeonardoGentile/repos","events_url":"https://api.github.com/users/LeonardoGentile/events{/privacy}","received_events_url":"https://api.github.com/users/LeonardoGentile/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/balderdashy/waterline/labels/question","name":"question","color":"9a56f5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-01T15:47:26Z","updated_at":"2015-12-01T17:08:35Z","closed_at":"2015-12-01T16:24:00Z","body":"Hello, this isn't an issue but a question:\r\nis there any reliable way to retrieve the model name from a model instance?"},"comment":{"url":"https://api.github.com/repos/balderdashy/waterline/issues/comments/161035003","html_url":"https://github.com/balderdashy/waterline/issues/1241#issuecomment-161035003","issue_url":"https://api.github.com/repos/balderdashy/waterline/issues/1241","id":161035003,"user":{"login":"LeonardoGentile","id":412061,"avatar_url":"https://avatars.githubusercontent.com/u/412061?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonardoGentile","html_url":"https://github.com/LeonardoGentile","followers_url":"https://api.github.com/users/LeonardoGentile/followers","following_url":"https://api.github.com/users/LeonardoGentile/following{/other_user}","gists_url":"https://api.github.com/users/LeonardoGentile/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonardoGentile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonardoGentile/subscriptions","organizations_url":"https://api.github.com/users/LeonardoGentile/orgs","repos_url":"https://api.github.com/users/LeonardoGentile/repos","events_url":"https://api.github.com/users/LeonardoGentile/events{/privacy}","received_events_url":"https://api.github.com/users/LeonardoGentile/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T17:08:35Z","updated_at":"2015-12-01T17:08:35Z","body":"@devinivy :+1:  thanks I tough so.\r\nYou are adding an extra field to identify the model name, in this way the model name (might) become different from the file name. \r\nI mean this should work as workaround but I think the framework should provide a standard way to do so, without any extra field. Do you think this should be formalized as feature request?\r\n"}}