You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refit can't generate a proxy class in .NET Interactive, but it should.
#r "nuget: Refit, *"
#r "nuget:Refit.HttpClientFactory,*"
using Refit;publicrecordUser();publicinterfaceIGitHubApi{[Get("/users/{user}")]Task<User>GetUser(stringuser);}RestService.For<IGitHubApi>("https://api.github.com");
Error: System.InvalidOperationException: IGitHubApi doesn't look like a Refit interface.
Make sure it has at least one method with a Refit HTTP method attribute and Refit is installed in the project.
The text was updated successfully, but these errors were encountered:
Refit can't generate a proxy class in .NET Interactive, but it should.
The text was updated successfully, but these errors were encountered: