{"action":"created","issue":{"url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/34","repository_url":"https://api.github.com/repos/Evertras/typescript-cs-poco","labels_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/34/comments","events_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/34/events","html_url":"https://github.com/Evertras/typescript-cs-poco/issues/34","id":167590984,"number":34,"title":"Generics with types","user":{"login":"philjones88","id":677167,"avatar_url":"https://avatars.githubusercontent.com/u/677167?v=3","gravatar_id":"","url":"https://api.github.com/users/philjones88","html_url":"https://github.com/philjones88","followers_url":"https://api.github.com/users/philjones88/followers","following_url":"https://api.github.com/users/philjones88/following{/other_user}","gists_url":"https://api.github.com/users/philjones88/gists{/gist_id}","starred_url":"https://api.github.com/users/philjones88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philjones88/subscriptions","organizations_url":"https://api.github.com/users/philjones88/orgs","repos_url":"https://api.github.com/users/philjones88/repos","events_url":"https://api.github.com/users/philjones88/events{/privacy}","received_events_url":"https://api.github.com/users/philjones88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-26T12:05:15Z","updated_at":"2016-07-28T06:21:23Z","closed_at":"2016-07-28T06:21:23Z","body":"Given this test, it fails.\r\n\r\n```\r\n/// <reference path=\"../typings/tsd.d.ts\" />\r\n// Disabled multiline warning, we're fine with ES5\r\n// jshint -W043\r\n\r\nvar sampleFile = \"\\\r\nusing System;\\n\\\r\n\\n\\\r\npublic class Profile\\n\\\r\n{\\n\\\r\n    public Entry<bool> Value { get; set; }\\n\\\r\n}\\n\";\r\n\r\nvar expectedOutput = \"\\\r\ninterface Profile {\\n\\\r\n    Value: Entry<boolean>;\\n\\\r\n}\\n\";\r\n\r\nvar pocoGen = require('../index.js');\r\n\r\ndescribe('typescript-cs-poco', function() {\r\n    it('should convert a generic property correctly', function() {\r\n        var result = pocoGen(sampleFile);\r\n        \r\n        expect(result).toEqual(expectedOutput);\r\n    });\r\n});\r\n```\r\n\r\nI'm trying to dig through the code to figure out a fix, I'd guess we want to process the properties and do a regex check like the `collectionRegex` for generic then translate the type using `typeTranslation`"},"comment":{"url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/comments/235809259","html_url":"https://github.com/Evertras/typescript-cs-poco/issues/34#issuecomment-235809259","issue_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/34","id":235809259,"user":{"login":"Evertras","id":5923958,"avatar_url":"https://avatars.githubusercontent.com/u/5923958?v=3","gravatar_id":"","url":"https://api.github.com/users/Evertras","html_url":"https://github.com/Evertras","followers_url":"https://api.github.com/users/Evertras/followers","following_url":"https://api.github.com/users/Evertras/following{/other_user}","gists_url":"https://api.github.com/users/Evertras/gists{/gist_id}","starred_url":"https://api.github.com/users/Evertras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evertras/subscriptions","organizations_url":"https://api.github.com/users/Evertras/orgs","repos_url":"https://api.github.com/users/Evertras/repos","events_url":"https://api.github.com/users/Evertras/events{/privacy}","received_events_url":"https://api.github.com/users/Evertras/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T06:21:23Z","updated_at":"2016-07-28T06:21:23Z","body":"Published 1.10.1 with your PR implemented."}}
{"actor":{"display_login":"Evertras"}}