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
I have a class library project which implements some web api client using Refit (version 8.0.0 specifically) for years I've been thinking that Refit is not supported in C# interactive as it was throwing me errors like <my refit interface> is not a Refit interaface but suddenly today I executed the F# cell with #r to my library dll and refit nuget, then the C# cell with same references, which thrown me suddenly a different error saying its unable to cast some object, then I just pushed the run button on C# cell second time and it suddenly worked.
This is reproduced in both Polyglot and Verso - first run the F# references, then C# references will throw 2 errors and will work for the third time...
I'm not expecting something to be done about this, just for people to know
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a class library project which implements some web api client using Refit (version 8.0.0 specifically) for years I've been thinking that Refit is not supported in C# interactive as it was throwing me errors like
<my refit interface> is not a Refit interafacebut suddenly today I executed the F# cell with #r to my library dll and refit nuget, then the C# cell with same references, which thrown me suddenly a different error saying its unable to cast some object, then I just pushed the run button on C# cell second time and it suddenly worked.This is reproduced in both Polyglot and Verso - first run the F# references, then C# references will throw 2 errors and will work for the third time...
I'm not expecting something to be done about this, just for people to know
Beta Was this translation helpful? Give feedback.
All reactions