✨ Add support for invertWithDoc for subtypes
#46
+41
−2
invertWithDoc for subtypes
#46