mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-06-27 06:43:13 +00:00
TemplateType.Wrapper Removed
This commit is contained in:
@ -2782,8 +2782,8 @@ class DistributedConnection extends NetworkConnection with IStore {
|
|||||||
|
|
||||||
if (resource == null) {
|
if (resource == null) {
|
||||||
template =
|
template =
|
||||||
Warehouse.getTemplateByClassId(classId, TemplateType.Wrapper);
|
Warehouse.getTemplateByClassId(classId, TemplateType.Resource);
|
||||||
if (template?.definedType != null) {
|
if (template?.definedType != null && (template?.isWrapper ?? false)) {
|
||||||
dr = Warehouse.createInstance(template?.definedType as Type);
|
dr = Warehouse.createInstance(template?.definedType as Type);
|
||||||
dr.internal_init(this, id, rt[1] as int, rt[2] as String);
|
dr.internal_init(this, id, rt[1] as int, rt[2] as String);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user