{"action":"opened","issue":{"url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/6360","repository_url":"https://api.github.com/repos/ballerina-lang/ballerina","labels_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/6360/labels{/name}","comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/6360/comments","events_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/6360/events","html_url":"https://github.com/ballerina-lang/ballerina/issues/6360","id":310784813,"number":6360,"title":"Anonymous Struct support in Composer","user":{"login":"uthaiyashankar","id":2410076,"avatar_url":"https://avatars3.githubusercontent.com/u/2410076?v=4","gravatar_id":"","url":"https://api.github.com/users/uthaiyashankar","html_url":"https://github.com/uthaiyashankar","followers_url":"https://api.github.com/users/uthaiyashankar/followers","following_url":"https://api.github.com/users/uthaiyashankar/following{/other_user}","gists_url":"https://api.github.com/users/uthaiyashankar/gists{/gist_id}","starred_url":"https://api.github.com/users/uthaiyashankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uthaiyashankar/subscriptions","organizations_url":"https://api.github.com/users/uthaiyashankar/orgs","repos_url":"https://api.github.com/users/uthaiyashankar/repos","events_url":"https://api.github.com/users/uthaiyashankar/events{/privacy}","received_events_url":"https://api.github.com/users/uthaiyashankar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-03T10:44:22Z","updated_at":"2018-04-03T10:44:22Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<a href=\"https://github.com/keizer619\"><img src=\"https://avatars0.githubusercontent.com/u/2918812?v=4\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [keizer619](https://github.com/keizer619)**\n_Monday Oct 30, 2017 at 06:57 GMT_\n_Originally opened as https://github.com/ballerina-lang/composer/issues/4287_\n\n----\n\nNeed to support Anonymous Struct in transform. It could be used in several levels, we need to support adding them from UI and generate UI from the source.\r\n\r\n1. As a Struct field.\r\n```\r\nstruct Person {\r\n    string name;\r\n    struct { string no; string lane; string city; } address;\r\n}\r\n```\r\n2. As a variable type\r\n```\r\nfunction testFunc2() {\r\n    struct { string no; string lane; string city; } address;\r\n}\r\n\r\n```\r\n3. As a function parameter type\r\n```\r\nfunction testFunc1(struct { string no; string lane; string city; } address2) {\r\n  \r\n}\r\n```\r\n\r\n\n"}}
{"actor":{"display_login":"uthaiyashankar"}}