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
{{ message }}
Repository navigation
Project.fields fails to deserialize when API returns an empty array #441
Hi! I'd like to work on this issue as my first open-source contribution.
I'll investigate the existing EmptyArrayToNullDeserializer implementation used by FileInfo.fields, apply the same approach to Project.fields, and add a regression test for the empty array response.
@GeetikaChaudhary09@andrii-bodnar, could you please also check other similar fields and fix them if needed? Seems SourceString.fields, Concept.fields, Term.fields, User.fields have the same issue
Activity
GeetikaChaudhary09 commentedon Nov 16, 2026
Hi! I'd like to work on this issue as my first open-source contribution.
I'll investigate the existing
EmptyArrayToNullDeserializerimplementation used byFileInfo.fields, apply the same approach toProject.fields, and add a regression test for the empty array response.Please let me know if I can proceed.
Thank you!
peekhovsky commentedon Nov 16, 2026
@GeetikaChaudhary09 @andrii-bodnar, could you please also check other similar fields and fix them if needed? Seems
SourceString.fields,Concept.fields,Term.fields,User.fieldshave the same issueandrii-bodnar commentedon Nov 16, 2026
@peekhovsky agreed, other
*.fieldsprobably have the same issueandrii-bodnar commentedon Nov 16, 2026
@peekhovsky @GeetikaChaudhary09 I found a way to fix it once and for all in every possible case. See the linked PR.