mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-05-06 12:02:57 +00:00
TemplateType.Wrapper Removed
This commit is contained in:
parent
8c7a55d93c
commit
5db3bbee4a
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user