We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preload가 포함된 API (ex. GET /v1/list-api/lists)를 호출할 시 Preload를 할 수 없다는 에러가 발생합니다. 예시 출력은 아래와 같습니다.
GET /v1/list-api/lists
The text was updated successfully, but these errors were encountered:
func GetAllLists(list *[]List) (err error) { if err = Config.DB.Preload("Project").Preload("Tasks").Find(list).Error; err != nil { return err } return nil }
-> func GetAllLists(list *[]List) (err error) { if err = Config.DB.Preload("Tasks").Find(list).Error; err != nil { return err } return nil }
func GetAllLists(list *[]List) (err error) { if err = Config.DB.Preload("Tasks").Find(list).Error; err != nil { return err } return nil }
리스트안에 프로젝트는 없는데 제가 실수로 포함해서 뜨는 오류같습니다.
Sorry, something went wrong.
No branches or pull requests
Preload가 포함된 API (ex.
GET /v1/list-api/lists
)를 호출할 시 Preload를 할 수 없다는 에러가 발생합니다. 예시 출력은 아래와 같습니다.The text was updated successfully, but these errors were encountered: