Open iLoveDocs opened 3 months ago
Sounds like you didn't fill the template, so I'll close this
@rrousselGit Sorry, I accidentally pressed "return" and the empty template was published. Could you please look into it now?
Thanks Rémi
Inheritance isn't officially supported. So it's unsurprising you have issues with it
@rrousselGit Is there an issue tracking inheritance support?
Minimal reproducible code
dart run build_runner build -d
.whereGender
,orderByGender
and otherGender
related things, like_$MalePerFieldToJson.gender(...)
but the_$MalePerFieldToJson
class doesn't havegender
getter in it.Possible fixes:
toJson
andfromJson
are only generated forid
andi
fields and not thegender
field. Thecloud_firestore_odm
should also not generate anything forgender
.//
gender
is not generated Map<String, dynamic> _$MaleToJson(Male instance) => <String, dynamic>{ 'id': instance.id, 'i': instance.i, };Specifications