Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Goal
설문조사 응답 API를 추가하였습니다.
Changes
설문조사에 Version을 추가하여 Question과 Answer를 버전 별로 관리할 수 있도록 변경하였습니다.
Question이 Answer를 검증할 수 있도록 수정하였습니다.
Description
Additional Context (Optional)
Version을 생성할 때 Sequential 하게 생성하고 있어서 해당 부분에만 낙관적이나 비관적 락을 걸어주면 동시성 이슈는 없을거 같은데 따로 발생할 수 있는 동시성 이슈가 있을까요?
그리고 설문조사 응답을 어떻게 검색하냐에 따라 자료구조가 변경되어야 할 것 같은데
단순히 버전별로 보기를 원할 것인지 아니면 버전에 상관없이 몇번째 질문에 대한 전체 응답을 보길 원하는지 궁금합니다.
Screenshots/Videos (Optional)
References (Optional)