Duccio Rocca

Results 14 comments of Duccio Rocca

Thanks @sanketshevkar I am considering retrieving the ModelFile and then querying whether the type is an imported type. If it is not, we check within the namespace. If nothing is...

Hi @sanketshevkar Here is my tentative method: `` _resolveArguemntType(argument) { let classDecl = null; const modelFile = this.parent.getModelFile(); if (modelFile.isImportedType(argument.type.name)) { let fullyQualifiedTypeName = modelFile.resolveImport(argument.type.name); classDecl = modelFile.getModelManager().getType(fullyQualifiedTypeName); } else...

@sanketshevkar > In your method _resolveArguemntType which line internally leads to calling ModelFile.getLocalType method? ` modelFile.getType(argument.type.name) ` Which is the method that is called to determine the local type. I...

Validation inside the decorator class is not implemented yet, and I am wondering what role it would play. Would it be a good idea to use the [validate](https://github.com/accordproject/concerto/blob/0d7f108d4961f87782436dd689639ce0f35e97f8/packages/concerto-core/lib/introspect/classdeclaration.js#L190C5-L190C12) method inside...