[fix] 修复对容器类型的element type为external type时,生成的cs代码错误对external type调用?.Resove的bug
parent
ad4acf337f
commit
81295cbfe1
|
|
@ -73,7 +73,7 @@ namespace Luban.Job.Cfg.Defs
|
|||
}
|
||||
|
||||
public bool HasRecursiveRef => (CType is TBean tb && HostType.AssemblyBase.GetExternalTypeMapper(tb) == null)
|
||||
|| CType.ElementType?.IsBean == true;
|
||||
|| (CType.ElementType is TBean eb && HostType.AssemblyBase.GetExternalTypeMapper(eb) == null);
|
||||
|
||||
public string CsRefTypeName => RefType.Apply(CsDefineTypeName.Ins);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue