Skip to content

fix: cast string arrays #1020

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

Merged
merged 2 commits into from
Dec 30, 2024
Merged

fix: cast string arrays #1020

merged 2 commits into from
Dec 30, 2024

Conversation

loks0n
Copy link
Member

@loks0n loks0n commented Dec 18, 2024

Fixes a type error where List<dynamic> was not properly converted to List<String> in generated model classes. The issue occurred because array elements weren't being explicitly converted to their target type. Added proper type conversion and null safety handling for array deserialization.

Related:

@loks0n loks0n requested a review from lohanidamodar December 18, 2024 22:54
@christyjacob4 christyjacob4 merged commit 6ff4678 into master Dec 30, 2024
35 checks passed
@christyjacob4 christyjacob4 deleted the fix-cast-string-arrays branch December 30, 2024 11:17
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

Successfully merging this pull request may close these issues.

3 participants