79573778

Date: 2025-04-14 18:16:18
Score: 0.5
Natty:
Report link

Using non-generic ApiResponse in your method's generic type parameters is producing the error message. Changing to this should compile:

public async Task<ApiResponse<TResponse>> MakeHttpRequestAsync<TRequest, TResponse>() 
    where TResponse : class
{ }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: digital_jedi