{"action":"created","issue":{"url":"https://api.github.com/repos/skyhills13/lion/issues/52","repository_url":"https://api.github.com/repos/skyhills13/lion","labels_url":"https://api.github.com/repos/skyhills13/lion/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/skyhills13/lion/issues/52/comments","events_url":"https://api.github.com/repos/skyhills13/lion/issues/52/events","html_url":"https://github.com/skyhills13/lion/issues/52","id":377148115,"node_id":"MDU6SXNzdWUzNzcxNDgxMTU=","number":52,"title":"Deal with mutually exclusive query param condition","user":{"login":"skyhills13","id":3893707,"node_id":"MDQ6VXNlcjM4OTM3MDc=","avatar_url":"https://avatars0.githubusercontent.com/u/3893707?v=4","gravatar_id":"","url":"https://api.github.com/users/skyhills13","html_url":"https://github.com/skyhills13","followers_url":"https://api.github.com/users/skyhills13/followers","following_url":"https://api.github.com/users/skyhills13/following{/other_user}","gists_url":"https://api.github.com/users/skyhills13/gists{/gist_id}","starred_url":"https://api.github.com/users/skyhills13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyhills13/subscriptions","organizations_url":"https://api.github.com/users/skyhills13/orgs","repos_url":"https://api.github.com/users/skyhills13/repos","events_url":"https://api.github.com/users/skyhills13/events{/privacy}","received_events_url":"https://api.github.com/users/skyhills13/received_events","type":"User","site_admin":false},"labels":[{"id":991905516,"node_id":"MDU6TGFiZWw5OTE5MDU1MTY=","url":"https://api.github.com/repos/skyhills13/lion/labels/study","name":"study","color":"008672","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-04T12:32:27Z","updated_at":"2018-11-04T13:54:12Z","closed_at":null,"author_association":"OWNER","body":"Tx list를 가져오는 api에서 생긴 문제.\r\n\r\nwalletId, TransactionType, tagId 세가지 종류의 queryParam이 있는데, \r\n각각이 서로 mutually exclusive함.\r\n\r\n[원래 짰던 코드]()대로 하면 mutually exclusive한 상황을 처리하기 애매함\r\n그래서 stackoverflow에 질문 올리고 답변 받음\r\n\r\nhttps://stackoverflow.com/questions/53130695/what-is-a-better-way-to-design-an-api-for-mutually-exclusive-request-parameters \r\n\r\n예제에 좀 실수를 해가지고 질문 포인트가 약간 빗겨갔지만 어쨌든 방법이 있어서\r\n\r\n코드를 [수정]() 했음"},"comment":{"url":"https://api.github.com/repos/skyhills13/lion/issues/comments/435671676","html_url":"https://github.com/skyhills13/lion/issues/52#issuecomment-435671676","issue_url":"https://api.github.com/repos/skyhills13/lion/issues/52","id":435671676,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTY3MTY3Ng==","user":{"login":"skyhills13","id":3893707,"node_id":"MDQ6VXNlcjM4OTM3MDc=","avatar_url":"https://avatars0.githubusercontent.com/u/3893707?v=4","gravatar_id":"","url":"https://api.github.com/users/skyhills13","html_url":"https://github.com/skyhills13","followers_url":"https://api.github.com/users/skyhills13/followers","following_url":"https://api.github.com/users/skyhills13/following{/other_user}","gists_url":"https://api.github.com/users/skyhills13/gists{/gist_id}","starred_url":"https://api.github.com/users/skyhills13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyhills13/subscriptions","organizations_url":"https://api.github.com/users/skyhills13/orgs","repos_url":"https://api.github.com/users/skyhills13/repos","events_url":"https://api.github.com/users/skyhills13/events{/privacy}","received_events_url":"https://api.github.com/users/skyhills13/received_events","type":"User","site_admin":false},"created_at":"2018-11-04T13:54:12Z","updated_at":"2018-11-04T13:54:12Z","author_association":"OWNER","body":"생각해보니까 이 api는 mutually exclusive하지 않은 케이스이긴 함 \r\n그렇다면 nativeQuery나 queryDSL로 해결해야할 듯"}}
{"actor":{"display_login":"skyhills13"}}