mirror of
https://github.com/esiur/esiur-js.git
synced 2026-04-04 05:58:22 +00:00
GetTypeUUID+wsUrl
This commit is contained in:
@@ -266,7 +266,7 @@ export default class TypeTemplate {
|
||||
|
||||
// set UUID
|
||||
this.className = describer.namespace + "." + (describer.className ?? type.prototype.constructor.name);
|
||||
this.classId = describer.classId ?? SHA256.compute(DC.stringToBytes(this.className)).getUUID(0);
|
||||
this.classId = describer.classId ?? TypeTemplate.getTypeUUIDByName(this.className);// SHA256.compute(DC.stringToBytes(this.className)).getUUID(0);
|
||||
|
||||
|
||||
if (addToWarehouse)
|
||||
|
||||
Reference in New Issue
Block a user