{"action":"created","issue":{"url":"https://api.github.com/repos/OpenFeign/feign/issues/645","repository_url":"https://api.github.com/repos/OpenFeign/feign","labels_url":"https://api.github.com/repos/OpenFeign/feign/issues/645/labels{/name}","comments_url":"https://api.github.com/repos/OpenFeign/feign/issues/645/comments","events_url":"https://api.github.com/repos/OpenFeign/feign/issues/645/events","html_url":"https://github.com/OpenFeign/feign/issues/645","id":301920860,"number":645,"title":"Optional query parameters with compile-time checks","user":{"login":"rage-shadowman","id":4040773,"avatar_url":"https://avatars3.githubusercontent.com/u/4040773?v=4","gravatar_id":"","url":"https://api.github.com/users/rage-shadowman","html_url":"https://github.com/rage-shadowman","followers_url":"https://api.github.com/users/rage-shadowman/followers","following_url":"https://api.github.com/users/rage-shadowman/following{/other_user}","gists_url":"https://api.github.com/users/rage-shadowman/gists{/gist_id}","starred_url":"https://api.github.com/users/rage-shadowman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rage-shadowman/subscriptions","organizations_url":"https://api.github.com/users/rage-shadowman/orgs","repos_url":"https://api.github.com/users/rage-shadowman/repos","events_url":"https://api.github.com/users/rage-shadowman/events{/privacy}","received_events_url":"https://api.github.com/users/rage-shadowman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-02T22:08:44Z","updated_at":"2018-03-02T22:45:53Z","closed_at":null,"author_association":"NONE","body":"It would be nice if we could specify optional query parameters such that we get compile failures if they aren't specified correctly.\r\n\r\nIdeally, we could pass in in a POJO which can be used to generate the expected map through reflection.\r\n\r\nLess ideally, allowing the query parameter map to have enum keys (no compile failure on invalid value types, but at least we will get a compile failure on an invalid parameter name)."},"comment":{"url":"https://api.github.com/repos/OpenFeign/feign/issues/comments/370074542","html_url":"https://github.com/OpenFeign/feign/issues/645#issuecomment-370074542","issue_url":"https://api.github.com/repos/OpenFeign/feign/issues/645","id":370074542,"user":{"login":"rage-shadowman","id":4040773,"avatar_url":"https://avatars3.githubusercontent.com/u/4040773?v=4","gravatar_id":"","url":"https://api.github.com/users/rage-shadowman","html_url":"https://github.com/rage-shadowman","followers_url":"https://api.github.com/users/rage-shadowman/followers","following_url":"https://api.github.com/users/rage-shadowman/following{/other_user}","gists_url":"https://api.github.com/users/rage-shadowman/gists{/gist_id}","starred_url":"https://api.github.com/users/rage-shadowman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rage-shadowman/subscriptions","organizations_url":"https://api.github.com/users/rage-shadowman/orgs","repos_url":"https://api.github.com/users/rage-shadowman/repos","events_url":"https://api.github.com/users/rage-shadowman/events{/privacy}","received_events_url":"https://api.github.com/users/rage-shadowman/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T22:45:53Z","updated_at":"2018-03-02T22:45:53Z","author_association":"NONE","body":"Another ideal solution could be a fluent interface where you can build the request adding the parameters you care about before actually executing it. "}}
{"actor":{"display_login":"rage-shadowman"}}