umbraco / Umbraco.Headless.Client.Net

.NET Client Library and Samples for the Umbraco headless cms Cloud Service called Umbraco Heartcore
https://umbraco.com/products/umbraco-heartcore/
12 stars 14 forks source link

The GetByTypeAlias method of ContentDelivery is ignoring the contentTypeAlias paramater #49

Closed miguelcrpinto closed 2 years ago

miguelcrpinto commented 2 years ago

Hi,

I just found out that the GetByTypeAlias method of ContentDelivery is ignoring the contentTypeAlias paramater. This bug seems to have been introduced in version 1.3 of the nuget package and since then the GetByTypeAlias is obtaining the content type alias from the GetAliasFromClassName method instead of using the method's contentTypeAlias paramater.

I created a pull request that fixes this issue and I need the nuget to be urgently updated with this fix.

Thanks

Zero3 commented 2 years ago

Seems like the problem was solved by the referenced pull request, so I will close this issue :).