{"action":"created","issue":{"url":"https://api.github.com/repos/Kentico/content-management-sdk-net/issues/30","repository_url":"https://api.github.com/repos/Kentico/content-management-sdk-net","labels_url":"https://api.github.com/repos/Kentico/content-management-sdk-net/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/Kentico/content-management-sdk-net/issues/30/comments","events_url":"https://api.github.com/repos/Kentico/content-management-sdk-net/issues/30/events","html_url":"https://github.com/Kentico/content-management-sdk-net/issues/30","id":371739322,"node_id":"MDU6SXNzdWUzNzE3MzkzMjI=","number":30,"title":"ProjectId type representation","user":{"login":"KristianJakubik","id":28342527,"node_id":"MDQ6VXNlcjI4MzQyNTI3","avatar_url":"https://avatars0.githubusercontent.com/u/28342527?v=4","gravatar_id":"","url":"https://api.github.com/users/KristianJakubik","html_url":"https://github.com/KristianJakubik","followers_url":"https://api.github.com/users/KristianJakubik/followers","following_url":"https://api.github.com/users/KristianJakubik/following{/other_user}","gists_url":"https://api.github.com/users/KristianJakubik/gists{/gist_id}","starred_url":"https://api.github.com/users/KristianJakubik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristianJakubik/subscriptions","organizations_url":"https://api.github.com/users/KristianJakubik/orgs","repos_url":"https://api.github.com/users/KristianJakubik/repos","events_url":"https://api.github.com/users/KristianJakubik/events{/privacy}","received_events_url":"https://api.github.com/users/KristianJakubik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-18T22:32:54Z","updated_at":"2018-10-19T11:35:51Z","closed_at":"2018-10-19T11:35:51Z","author_association":"COLLABORATOR","body":"### Expected result\r\n\r\nHi,\r\nI would need to clarify, what is the proper way to represent the type of `ProjectId`. \r\nIn issue #3, I am implementing response object, which contains property `ProjectId` and  to the best of my knowledge this property should be type of `Guid` (other Ids are represented this way).\r\nHowever in source code it is type of  `string`.\r\n\r\n### Resources\r\n\r\nhttps://github.com/Kentico/content-management-sdk-net/blob/ded1797c4be6aadb0f98a5de439528173c8f4e45/KenticoCloud.ContentManagement/Configuration/ContentManagementOptions.cs#L15-L18\r\nhttps://github.com/Kentico/content-management-sdk-net/blob/ded1797c4be6aadb0f98a5de439528173c8f4e45/KenticoCloud.ContentManagement.Tests/ContentManagementClientTests.cs#L23"},"comment":{"url":"https://api.github.com/repos/Kentico/content-management-sdk-net/issues/comments/431334122","html_url":"https://github.com/Kentico/content-management-sdk-net/issues/30#issuecomment-431334122","issue_url":"https://api.github.com/repos/Kentico/content-management-sdk-net/issues/30","id":431334122,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTMzNDEyMg==","user":{"login":"petrsvihlik","id":9810625,"node_id":"MDQ6VXNlcjk4MTA2MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/9810625?v=4","gravatar_id":"","url":"https://api.github.com/users/petrsvihlik","html_url":"https://github.com/petrsvihlik","followers_url":"https://api.github.com/users/petrsvihlik/followers","following_url":"https://api.github.com/users/petrsvihlik/following{/other_user}","gists_url":"https://api.github.com/users/petrsvihlik/gists{/gist_id}","starred_url":"https://api.github.com/users/petrsvihlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrsvihlik/subscriptions","organizations_url":"https://api.github.com/users/petrsvihlik/orgs","repos_url":"https://api.github.com/users/petrsvihlik/repos","events_url":"https://api.github.com/users/petrsvihlik/events{/privacy}","received_events_url":"https://api.github.com/users/petrsvihlik/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T11:35:51Z","updated_at":"2018-10-19T11:35:51Z","author_association":"MEMBER","body":"Hey @KristianJakubik, it'll always be `Guid`. See this for instance:\r\n\r\nhttps://github.com/Kentico/delivery-sdk-net/blob/master/KenticoCloud.Delivery/DeliveryClient.cs#L113\r\n\r\nI think the reason why it's string at some places is that it's more convenient for users to enter just `\"49f108e5-2e7e-4405-8369-7e0cf92576f2\"` instead of creating `new Guid(\"49f108e5-2e7e-4405-8369-7e0cf92576f2\")` while passing it as an argument."}}
{"actor":{"display_login":"petrsvihlik"}}