-
Notifications
You must be signed in to change notification settings - Fork 0
[REFACTOR] 프로젝트 전반적인 리펙토링 #179
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
Open
eum018
wants to merge
15
commits into
develop
Choose a base branch
from
refactor/#176-project-whole-refactor
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6f43939
refactor : "router 기능별 route 클래스 분리"
eum018 8d577f6
refactor : "app_router ShellRoute 구조 변경 및 RoutePaths 정리"
eum018 067a910
refactor : "binding 구조 정리"
eum018 9f18f50
refactor : "NavigationScreen ShellRoute 방식으로 변경"
eum018 031aed1
refactor : "PostDetailScreen postId 파라미터 추가 및 tag 기반 controller 조회"
eum018 518d20f
fix : "login/splash navigation 경로 수정"
eum018 63d63e7
refactor : "develop merge - 충돌 해결"
eum018 a97e8d6
refactor : "NavigationScreen build 메서드 side effect 제거"
eum018 f6eccec
fix : "isRegistered 조건 버그 수정 및 postDetail 중복 등록 방지"
eum018 b2e6793
refactor : "search 공통 컴포넌트 리팩토링"
eum018 9bf5a2d
refactor : "home search 화면 분리"
eum018 a06dd99
refactor : "community search 화면 분리"
eum018 3660b73
refactor : "ChatMainScreen MainTopSearchBar 적용"
eum018 19d8a2d
refactor : "search binding/controller 내용 추가"
eum018 403f255
fix : "테스트 실패 수정 - initialLocation 및 HomeBinding 의존성 추가"
eum018 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| import 'package:get/get.dart'; | ||
|
|
||
| import '../../../data/datasource/auth/auth_local_datasource_impl.dart'; | ||
| import '../../../data/datasource/auth/auth_remote_datasource.dart'; | ||
| import '../../../data/datasource/base/auth_local_datasource.dart'; | ||
| import '../../../data/network/clients/auth_client.dart'; | ||
| import '../../env.dart'; | ||
|
|
||
| class AuthBinding extends Bindings { | ||
| @override | ||
| void dependencies() { | ||
| if (Get.isRegistered<AuthRemoteDatasource>()) { | ||
| Get.lazyPut<AuthRemoteDatasource>( | ||
| () => AuthRemoteDatasource(Env.apiBaseUrl), | ||
| fenix: true, | ||
| ); | ||
| } | ||
| if (Get.isRegistered<AuthLocalDatasource>()) { | ||
| Get.lazyPut<AuthLocalDatasource>( | ||
| () => AuthLocalDatasourceImpl(), | ||
| fenix: true, | ||
| ); | ||
| } | ||
|
|
||
| if (Get.isRegistered<AuthClient>()) { | ||
| Get.lazyPut( | ||
| () => AuthClient( | ||
| localDatasource: Get.find<AuthLocalDatasource>(), | ||
| remoteDatasource: Get.find<AuthRemoteDatasource>(), | ||
| ), | ||
| fenix: true, | ||
| ); | ||
| } | ||
|
eum018 marked this conversation as resolved.
Outdated
|
||
| } | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.