File tree Expand file tree Collapse file tree
libs/canvas-api-2/src/main/java/com/instructure/canvasapi2/di Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import dagger.Provides
2323import dagger.hilt.InstallIn
2424import dagger.hilt.components.SingletonComponent
2525import javax.inject.Qualifier
26- import javax.inject.Singleton
2726
2827@Qualifier
2928@Retention(AnnotationRetention .BINARY )
@@ -36,15 +35,13 @@ annotation class JourneyApolloClient
3635@Module
3736@InstallIn(SingletonComponent ::class )
3837class GraphQlClientModule {
39- @Singleton
4038 @Provides
4139 @DefaultApolloClient
4240 fun provideDefaultApolloClient (): ApolloClient {
4341 val config = QLClientConfig ()
4442 return config.buildClient()
4543 }
4644
47- @Singleton
4845 @Provides
4946 @JourneyApolloClient
5047 fun provideJourneyApolloClient (journeyGraphQLClientConfig : JourneyGraphQLClientConfig ): ApolloClient {
You can’t perform that action at this time.
0 commit comments