mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-05-06 04: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) {
|
||||
template =
|
||||
Warehouse.getTemplateByClassId(classId, TemplateType.Wrapper);
|
||||
if (template?.definedType != null) {
|
||||
Warehouse.getTemplateByClassId(classId, TemplateType.Resource);
|
||||
if (template?.definedType != null && (template?.isWrapper ?? false)) {
|
||||
dr = Warehouse.createInstance(template?.definedType as Type);
|
||||
dr.internal_init(this, id, rt[1] as int, rt[2] as String);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user