Skip to content
New issue

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

100 apiresponse 삭제 #101

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

100 apiresponse 삭제 #101

wants to merge 13 commits into from

Conversation

brownglasses
Copy link
Contributor

@brownglasses brownglasses commented May 14, 2024

[fix: api 삭제]
[fix: user 및 team 데이터 소스 수정]
[fix: user 및 team 레파지토리 수정]
[fix: user 및 team usecase 수정]
[fix: viewModel 수정]
[fix: di 및 locator 수정]
[fix: 로그인 페이지 수정]

[fix: 메소드 이름 수정]
[fix: AuthContoller 수정]
[fix: token 재발급이 반복적으로 되는 에러 해결]
[fix: 파일 이름 수정으로 인한 import 문구 수정]

tokenCheck 메소드 이름보단 checkToken 이 더 좋을 것 같아 수정하였습니다
AuthController 란 이후 자동 로그인 구현에 있어 미리 구현해본 객체입니다. 아직까진 사용을 안하니 눈여겨볼 필요는 없을 것 같습니다 !!
한 번 재발급을 신청한 인터셉터는 플레그를 세웁니다. 이후 플레그가 있으면 토큰을 재발급을 하지 않게 하여, 토큰이 반복적으로 재발급되는 상황을 막았습니다.
@brownglasses brownglasses linked an issue May 14, 2024 that may be closed by this pull request
Copy link

github-actions bot commented May 14, 2024

Visit the preview URL for this PR (updated for commit cfe84d2):

https://taskweaver-front--pr101-100-apiresponse-m7pwkm0f.web.app

(expires Sun, 09 Jun 2024 14:11:32 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 37daec54a48dbfe281302dc48a4e028c965a31c2

import 'package:front/features/user/data/data_source/local_data_source/user_local_data_source.dart';
import 'package:front/features/user/data/data_source/remote_data_source/user_remote_data_source.dart';
import 'package:front/features/user/data/models/change_password.dart';
import 'package:front/features/user/data/models/sign_in_request.dart';
Copy link
Contributor

Choose a reason for hiding this comment

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

모델파일 이름도 다른 파일들과 마찬가지로 _model로 끝나고 class이름도 Model로 끝나는 것이 좋을 것 같습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

아 넵넵 알겠습니다 ! 수정하겠습니다 ! 감사합니다 !

Copy link
Contributor

Choose a reason for hiding this comment

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

이부분은 혹시 어떤 역할을 하는 뷰모델 인가요?
viewmodel은 파일이름과 class이름을 viewmodel로 바꾸는 것이 좋을 것 같습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

아 이 부분은
image
main Home 에서 팀 선택 시, 팀의 정보를 받아오는 provider 입니다.

말씀하신대로 provider 보단 viewModel 이름으로 바꾸는 게 좋을 것 같습니다 !

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.

apiResponse 삭제
2 participants