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
[BUG] default values for references enums are not generated correctly #14689
@wing328 I am also facing same issue. My project is kotlin based and I am having size issues with my SDK as because of this issue I am forced to generate enums internally and have alot of duplicates which has a huge impact on final artifact size. Any news on fixing this?
@Midorina any tips on how did you get your problem fixed?
Activity
wing328 commentedon Feb 14, 2023
can you pls try the latest master? we've a PR to fix that.
robbertvanwaveren commentedon Feb 14, 2023
@wing328 I started working from a synced master yesterday, its still seems broken without my fix.
wing328 commentedon Mar 6, 2023
@robbertvanwaveren I've filed #14882 to fix it in the default codegen. I wonder if you can pull it to give it a try when you've time.
(I tested with your spec and the result is good)
robbertvanwaveren commentedon Mar 6, 2023
works like a charm @wing328
Midorina commentedon Apr 11, 2024
Hi. I have this issue in version 7.4.0.
mostafazakaria commentedon Oct 1, 2025
@wing328 I am also facing same issue. My project is kotlin based and I am having size issues with my SDK as because of this issue I am forced to generate enums internally and have alot of duplicates which has a huge impact on final artifact size. Any news on fixing this?
@Midorina any tips on how did you get your problem fixed?