Skip to content

Conversation

@dev-khg
Copy link
Contributor

@dev-khg dev-khg commented Oct 11, 2023

요청하는 API 마다 Response가 달라서 아래와 같이 처리하는 것은 어떤가요?!
더 나은 방법이 있다면 참고하겠습니다 :)

public class CatcherConverter<T> {
private final String headerPath;
private final ObjectMapper objectMapper;
private final Class<T> clazz;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private final Class<T> clazz;
private final Class<T> responseType;

더 명확하게 어떤것에 대한 변수인지 해두는 차원에서? 괜찮은것 같아요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants