crowdin / crowdin-api-client-dotnet

.NET client library for Crowdin API
https://www.nuget.org/packages/Crowdin.Api/
MIT License
53 stars 26 forks source link

ListLanguageTranslations endpoint returns list of empty classes #175

Closed bZverok closed 1 year ago

bZverok commented 1 year ago

ListLanguageTranslations method deserializes web response to the list of LanguageTranslations, but this class is empty:

зображення

Should not there be a PlainLanguageTranslations class instead?

andrii-bodnar commented 1 year ago

@innomaxx could you please assist here?

innomaxx commented 1 year ago

@bZverok LanguageTranslations is merely a base type for descendants with properties. Custom JSON converter is used here for deserialization. Does it work for you?

bZverok commented 1 year ago

Now I see it, thank you. It's just the code that is a bit confusing