Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Mapster 的堆栈溢出异常导致正在运行的进程终止。
TSource.Adapt<TDestination>()
您可以找到有关防止doc循环引用的更多信息。使用以下方法防止堆栈溢出错误。
TypeAdapterConfig<TSource, TDestination> .NewConfig() .PreserveReference(true);