chridou / http-api-problem

A problem type to be returned by HTTP APIs
Apache License 2.0
54 stars 12 forks source link

Unused generic type param in status fn #32

Closed awaltert closed 3 years ago

awaltert commented 3 years ago

Good morning,

I just updated to the latest version 0.50.1 and felt over the following function.

The compiler asks me to provide a proper T because it is not able to infer a proper type. The function doesn't use T thus leads me to the following questions:

Is there any reason to stick with this T in the signature? Could this be a left over or a copy paste thing?

Many thanks in advance 😃