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
[DataConnect] Incorrect generated code for enum lists in dart/flutter. #9391
Thanks @isenbj for the detailed report! I am able to reproduce the issue. As you mentioned, the generated SDK has an error. I'll raise this to our engineering team and mark this as reproducible.
A fix has been shipped in firebase-tools v14.26.0. I've tested the generated Dart SDK using the mcve and it no longer throws any errors. Could you give this latest version a try?
Activity
google-oss-bot commentedon Oct 27, 2025
This issue does not seem to follow the issue template. Make sure you provide all the required information.
aalej commentedon Oct 28, 2025
Thanks @isenbj for the detailed report! I am able to reproduce the issue. As you mentioned, the generated SDK has an error. I'll raise this to our engineering team and mark this as reproducible.
Sharing an mcve here.
isenbj commentedon Nov 13, 2025
Any updates?
aalej commentedon Nov 20, 2025
Hey @isenbj there seems to be a fix for this in v14.23.0, could you give this version a try?
isenbj commentedon Nov 20, 2025
I've tried using the shared mcve above and it still generates incorrectly:
aalej commentedon Nov 20, 2025
It looks like we may be missing a type cast there, will follow up with our engineering team
aalej commentedon Nov 21, 2025
A fix has been shipped in firebase-tools v14.26.0. I've tested the generated Dart SDK using the mcve and it no longer throws any errors. Could you give this latest version a try?
isenbj commentedon Nov 21, 2025
Looks good! Thank you for the fix :)