{"action":"closed","issue":{"url":"https://api.github.com/repos/micronaut-projects/micronaut-core/issues/168","repository_url":"https://api.github.com/repos/micronaut-projects/micronaut-core","labels_url":"https://api.github.com/repos/micronaut-projects/micronaut-core/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/micronaut-projects/micronaut-core/issues/168/comments","events_url":"https://api.github.com/repos/micronaut-projects/micronaut-core/issues/168/events","html_url":"https://github.com/micronaut-projects/micronaut-core/issues/168","id":325771349,"node_id":"MDU6SXNzdWUzMjU3NzEzNDk=","number":168,"title":"Add support for Kotlin's `?` optional support in query params","user":{"login":"marceloverdijk","id":197004,"node_id":"MDQ6VXNlcjE5NzAwNA==","avatar_url":"https://avatars3.githubusercontent.com/u/197004?v=4","gravatar_id":"","url":"https://api.github.com/users/marceloverdijk","html_url":"https://github.com/marceloverdijk","followers_url":"https://api.github.com/users/marceloverdijk/followers","following_url":"https://api.github.com/users/marceloverdijk/following{/other_user}","gists_url":"https://api.github.com/users/marceloverdijk/gists{/gist_id}","starred_url":"https://api.github.com/users/marceloverdijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marceloverdijk/subscriptions","organizations_url":"https://api.github.com/users/marceloverdijk/orgs","repos_url":"https://api.github.com/users/marceloverdijk/repos","events_url":"https://api.github.com/users/marceloverdijk/events{/privacy}","received_events_url":"https://api.github.com/users/marceloverdijk/received_events","type":"User","site_admin":false},"labels":[{"id":859093720,"node_id":"MDU6TGFiZWw4NTkwOTM3MjA=","url":"https://api.github.com/repos/micronaut-projects/micronaut-core/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":942694995,"node_id":"MDU6TGFiZWw5NDI2OTQ5OTU=","url":"https://api.github.com/repos/micronaut-projects/micronaut-core/labels/kotlin","name":"kotlin","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":{"login":"jameskleeh","id":1583789,"node_id":"MDQ6VXNlcjE1ODM3ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1583789?v=4","gravatar_id":"","url":"https://api.github.com/users/jameskleeh","html_url":"https://github.com/jameskleeh","followers_url":"https://api.github.com/users/jameskleeh/followers","following_url":"https://api.github.com/users/jameskleeh/following{/other_user}","gists_url":"https://api.github.com/users/jameskleeh/gists{/gist_id}","starred_url":"https://api.github.com/users/jameskleeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameskleeh/subscriptions","organizations_url":"https://api.github.com/users/jameskleeh/orgs","repos_url":"https://api.github.com/users/jameskleeh/repos","events_url":"https://api.github.com/users/jameskleeh/events{/privacy}","received_events_url":"https://api.github.com/users/jameskleeh/received_events","type":"User","site_admin":false},"assignees":[{"login":"jameskleeh","id":1583789,"node_id":"MDQ6VXNlcjE1ODM3ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1583789?v=4","gravatar_id":"","url":"https://api.github.com/users/jameskleeh","html_url":"https://github.com/jameskleeh","followers_url":"https://api.github.com/users/jameskleeh/followers","following_url":"https://api.github.com/users/jameskleeh/following{/other_user}","gists_url":"https://api.github.com/users/jameskleeh/gists{/gist_id}","starred_url":"https://api.github.com/users/jameskleeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameskleeh/subscriptions","organizations_url":"https://api.github.com/users/jameskleeh/orgs","repos_url":"https://api.github.com/users/jameskleeh/repos","events_url":"https://api.github.com/users/jameskleeh/events{/privacy}","received_events_url":"https://api.github.com/users/jameskleeh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-05-23T15:57:25Z","updated_at":"2018-05-31T19:51:11Z","closed_at":"2018-05-31T19:51:10Z","author_association":"NONE","body":"Micronaut does not support using Kotlin's `?` support for optional arguments, \r\n\r\nE.g.\r\n\r\n```\r\n@Get(\"/\")\r\nfun index(@QueryValue(\"name\") name: String? { .. }\r\n```\r\n\r\nWill not map the route if the `name` query param was not provided; hence ignoring the `?`.\r\n\r\nWhen adding `@Nullable` it does work, but it should be needed.\r\n\r\n```\r\n@Get(\"/\")    \r\nfun index(@Nullable @QueryValue(\"name\") name: String?): String { .. }\r\n```\r\n"}}
{"actor":{"display_login":"jameskleeh"}}