Skip to content

Commit

Permalink
fix(deps): update dependency com.github.anitrend:retrofit-graphql to …
Browse files Browse the repository at this point in the history
…v0.11.5 (#697)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 26, 2024
1 parent c6f7f71 commit ba38cfa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 75 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package com.mxt.anitrend.model.api.converter

import com.google.gson.Gson
import com.mxt.anitrend.model.api.converter.request.AniRequestConverter
import com.mxt.anitrend.model.api.converter.response.AniGraphResponseConverter
import io.github.wax911.library.annotation.processor.contract.AbstractGraphProcessor
import io.github.wax911.library.converter.GraphConverter
import okhttp3.RequestBody
import okhttp3.ResponseBody
import retrofit2.Converter
import retrofit2.Retrofit
Expand All @@ -15,41 +13,15 @@ class AniGraphConverter(
graphProcessor: AbstractGraphProcessor,
gson: Gson
) : GraphConverter(graphProcessor, gson) {

/**
* Response body converter delegates logic processing to a child class that handles
* wrapping and deserialization of the json response data.
*
* @param parameterAnnotations All the annotation applied to request parameters
* @param methodAnnotations All the annotation applied to the requesting method
* @param annotations All the annotation applied to the requesting method
* @param retrofit The retrofit object representing the response
* @param type The type of the parameter of the request
* @param type The generic type declared on the method
*
* @see AniRequestConverter
*/
override fun requestBodyConverter(
type: Type,
parameterAnnotations: Array<out Annotation>,
methodAnnotations: Array<out Annotation>,
retrofit: Retrofit
): Converter<*, RequestBody> = AniRequestConverter(
methodAnnotations = methodAnnotations,
graphProcessor = graphProcessor,
gson = gson
)

/**
* Response body converter delegates logic processing to a child class that handles
* wrapping and deserialization of the json response data.
* @see GraphResponseConverter
* <br></br>
*
*
* @param annotations All the annotation applied to the requesting Call method
* @see retrofit2.Call
*
* @param retrofit The retrofit object representing the response
* @param type The generic type declared on the Call method
*/
override fun responseBodyConverter(
type: Type,
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ androidx-work-test = { module = "androidx.work:work-test", version.ref = "androi

anitrend-android-emoji = "com.github.anitrend:android-emojify:1.6.0-beta01"
anitrend-support-markwon = "com.github.AniTrend:support-markdown:0.12.1-alpha01"
anitrend-retrofit-graphql = "com.github.anitrend:retrofit-graphql:cf428d8430"
anitrend-retrofit-graphql = "com.github.anitrend:retrofit-graphql:0.11.5"

cash-turbine = "app.cash.turbine:turbine:1.2.0"

Expand Down

0 comments on commit ba38cfa

Please sign in to comment.