{"action":"opened","issue":{"url":"https://api.github.com/repos/jordimontana82/fake-xrm-easy/issues/363","repository_url":"https://api.github.com/repos/jordimontana82/fake-xrm-easy","labels_url":"https://api.github.com/repos/jordimontana82/fake-xrm-easy/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/jordimontana82/fake-xrm-easy/issues/363/comments","events_url":"https://api.github.com/repos/jordimontana82/fake-xrm-easy/issues/363/events","html_url":"https://github.com/jordimontana82/fake-xrm-easy/issues/363","id":385727924,"node_id":"MDU6SXNzdWUzODU3Mjc5MjQ=","number":363,"title":"Weird way of adding inputs to the code activity","user":{"login":"ArsenAghajanyan","id":33094487,"node_id":"MDQ6VXNlcjMzMDk0NDg3","avatar_url":"https://avatars2.githubusercontent.com/u/33094487?v=4","gravatar_id":"","url":"https://api.github.com/users/ArsenAghajanyan","html_url":"https://github.com/ArsenAghajanyan","followers_url":"https://api.github.com/users/ArsenAghajanyan/followers","following_url":"https://api.github.com/users/ArsenAghajanyan/following{/other_user}","gists_url":"https://api.github.com/users/ArsenAghajanyan/gists{/gist_id}","starred_url":"https://api.github.com/users/ArsenAghajanyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArsenAghajanyan/subscriptions","organizations_url":"https://api.github.com/users/ArsenAghajanyan/orgs","repos_url":"https://api.github.com/users/ArsenAghajanyan/repos","events_url":"https://api.github.com/users/ArsenAghajanyan/events{/privacy}","received_events_url":"https://api.github.com/users/ArsenAghajanyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-29T13:07:22Z","updated_at":"2018-11-29T13:07:22Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nThis is not an issue nor a bug, I just would like to make sure this is laid properly. I've just noticed that the way we're adding custom input parameters to the code activity is a bit weird. \r\nSay we have something like this in the code activity:\r\n\r\n`[Input(\"POLines\")]`\r\n`public InArgument<string> POLinesString { get; set; }`\r\n\r\nThe way we're able to provide this input is the following:\r\n\r\n`Dictionary<string, object> inputs = new Dictionary<string, object>()`\r\n`{`\r\n        `{\"POLinesString\", JSONSerialize(POLines)}`\r\n`};`\r\n\r\nMy question is why do we need to provide 'POLinesString' name as a key in the dictionary and not 'POLines'. The second one would make more sense in my opinion as the code activity is waiting for the input called POLines and it maps it to the POLinesString. It should not wait for the input called POLinesString directly. \r\nAm I wrong? Would be glad to hear your thought regarding this :) Thanks!\r\n\r\nRegards,\r\nArsen."}}
{"actor":{"display_login":"ArsenAghajanyan"}}