Add option for full baseTypeInfo
Closed this issue · 2 comments
martinpfannemueller commented
In earlier releases the baseTypeInfo got resolved to the full path like this:
...
baseTypeInfo: com.example.XMLType,
...
In the last couple releases it gets this:
...
baseTypeInfo: .XMLType,
...
Is it somehow possible to get the full path back?
highsource commented
You can access this information via the name
property of the class info. Something like:
var context = new Jsonix.Context([ PO ]);
var itemsClassInfo = context.getTypeInfoByName("PO.Items");
test.equal('PO.Items', itemPropertyInfo.name);
The mapping name is omitted in mappings for brevity.
martinpfannemueller commented
Thanks a lot for the hint! You helped me a lot as always 👍