andros_rex@lemmy.world to Trans Memes@lemmy.blahaj.zone · 6 days agoprivate String gender;lemmy.worldimagemessage-square32linkfedilinkarrow-up1597arrow-down17
arrow-up1590arrow-down1imageprivate String gender;lemmy.worldandros_rex@lemmy.world to Trans Memes@lemmy.blahaj.zone · 6 days agomessage-square32linkfedilink
minus-squarevalkyrieangela@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up8·6 days agoenum implies that you cant change it, unless you were referring to the bool then true.
minus-squareFarid@startrek.websitelinkfedilinkarrow-up11·6 days agoYes, instead of boolean. But instead of String, too, for optimization reasons. You could always just add more enum constants to it.
minus-squareAnother Catgirl@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up3·5 days agoThat requires a recompile though
minus-squareFarid@startrek.websitelinkfedilinkarrow-up5·5 days agoThink of the patch notes though. added 4 new genders
enum implies that you cant change it, unless you were referring to the bool then true.
Yes, instead of boolean. But instead of String, too, for optimization reasons. You could always just add more enum constants to it.
That requires a recompile though
Think of the patch notes though.