Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RestSharp upgrade to 108 #26

Open
E-PressSend opened this issue Mar 5, 2023 · 1 comment
Open

RestSharp upgrade to 108 #26

E-PressSend opened this issue Mar 5, 2023 · 1 comment

Comments

@E-PressSend
Copy link

Hi Guys,

I'm getting an error while running my app which is caused by the fact that another dependency uses the RestSharp v108, while HubSpot.NET uses version 106.

Is there any plan to upgrade this library to RestSharp 108? is that very time consuming?

this is the error I'm getting while using HubSpot.NET:

Microsoft.Azure.WebJobs.Host.FunctionInvocationException: Exception while executing function: CreateTicket
 ---> System.TypeLoadException: Could not load type 'RestSharp.IRestRequest' from assembly 'RestSharp, Version=108.0.1.0, Culture=neutral, PublicKeyToken=598062e77f915f75'.
   at HubSpot.NET.Core.HubSpotBaseClient.SendRequest(String path, Method method, String json)
   at HubSpot.NET.Core.HubSpotBaseClient.SendRequest[T](String path, Method method, String json, Func`2 deserializeFunc)
   at HubSpot.NET.Api.Company.HubSpotCompanyApi.GetByDomain[T](String domain, CompanySearchByDomain options)
...

Cheers

@middiu
Copy link

middiu commented Mar 24, 2023

raised PR #28 to resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants