{"action":"closed","issue":{"url":"https://api.github.com/repos/jolie/jolie/issues/24","labels_url":"https://api.github.com/repos/jolie/jolie/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/jolie/jolie/issues/24/comments","events_url":"https://api.github.com/repos/jolie/jolie/issues/24/events","html_url":"https://github.com/jolie/jolie/issues/24","id":67193897,"number":24,"title":"API refactoring regarding boolean parameters","user":{"login":"mwallnoefer","id":7541399,"avatar_url":"https://avatars.githubusercontent.com/u/7541399?v=3","gravatar_id":"","url":"https://api.github.com/users/mwallnoefer","html_url":"https://github.com/mwallnoefer","followers_url":"https://api.github.com/users/mwallnoefer/followers","following_url":"https://api.github.com/users/mwallnoefer/following{/other_user}","gists_url":"https://api.github.com/users/mwallnoefer/gists{/gist_id}","starred_url":"https://api.github.com/users/mwallnoefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwallnoefer/subscriptions","organizations_url":"https://api.github.com/users/mwallnoefer/orgs","repos_url":"https://api.github.com/users/mwallnoefer/repos","events_url":"https://api.github.com/users/mwallnoefer/events{/privacy}","received_events_url":"https://api.github.com/users/mwallnoefer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jolie/jolie/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-08T18:48:39Z","updated_at":"2015-04-09T10:10:52Z","closed_at":"2015-04-09T10:10:52Z","body":"Before releasing a new major release, we should transform all int parameters which are intended as boolean. I know that such a change breaks compatibility, but let us discuss it here. For instance in the Database service we have:\r\n\r\ntype ConnectionInfo:void { \r\n    .port?:int\r\n    .toUpperCase?:bool\r\n    .username:string\r\n    .host:string\r\n    .checkConnection?:int   < should become bool\r\n    .toLowerCase?:bool\r\n    .driver:string\r\n    .attributes?:string\r\n    .password:string\r\n    .database:string\r\n}"}}