{"action":"created","issue":{"url":"https://api.github.com/repos/mybatis/mybatis-3/issues/228","labels_url":"https://api.github.com/repos/mybatis/mybatis-3/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/mybatis/mybatis-3/issues/228/comments","events_url":"https://api.github.com/repos/mybatis/mybatis-3/issues/228/events","html_url":"https://github.com/mybatis/mybatis-3/issues/228","id":36146350,"number":228,"title":"Support for Java's  Optional<T>  ","user":{"login":"rparree","id":359605,"avatar_url":"https://avatars.githubusercontent.com/u/359605?v=3","gravatar_id":"","url":"https://api.github.com/users/rparree","html_url":"https://github.com/rparree","followers_url":"https://api.github.com/users/rparree/followers","following_url":"https://api.github.com/users/rparree/following{/other_user}","gists_url":"https://api.github.com/users/rparree/gists{/gist_id}","starred_url":"https://api.github.com/users/rparree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rparree/subscriptions","organizations_url":"https://api.github.com/users/rparree/orgs","repos_url":"https://api.github.com/users/rparree/repos","events_url":"https://api.github.com/users/rparree/events{/privacy}","received_events_url":"https://api.github.com/users/rparree/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mybatis/mybatis-3/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-06-20T07:31:12Z","updated_at":"2015-04-04T05:01:17Z","closed_at":null,"body":"Hi,\r\n\r\nAre there any plans to support support for Java's 8 `Optional<T>`. I guess however due to the type erasure you would always have to specify the wrapped `javaType`.\r\n\r\nIf not plans, did anybody developed either a plugin or type handler?\r\n\r\nThanks.,\r\n\r\nRaphael\r\n"},"comment":{"url":"https://api.github.com/repos/mybatis/mybatis-3/issues/comments/89505172","html_url":"https://github.com/mybatis/mybatis-3/issues/228#issuecomment-89505172","issue_url":"https://api.github.com/repos/mybatis/mybatis-3/issues/228","id":89505172,"user":{"login":"checketts","id":416063,"avatar_url":"https://avatars.githubusercontent.com/u/416063?v=3","gravatar_id":"","url":"https://api.github.com/users/checketts","html_url":"https://github.com/checketts","followers_url":"https://api.github.com/users/checketts/followers","following_url":"https://api.github.com/users/checketts/following{/other_user}","gists_url":"https://api.github.com/users/checketts/gists{/gist_id}","starred_url":"https://api.github.com/users/checketts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/checketts/subscriptions","organizations_url":"https://api.github.com/users/checketts/orgs","repos_url":"https://api.github.com/users/checketts/repos","events_url":"https://api.github.com/users/checketts/events{/privacy}","received_events_url":"https://api.github.com/users/checketts/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T05:01:17Z","updated_at":"2015-04-04T05:01:17Z","body":"Has a `TypeHandler` for `Optional` been created yet? I'm cleaning up my code to avoid `null`s and using `Optional` with MyBatis feels like a great fit."}}