In https://swiftify.atlassian.net/browse/SWC-716, we could not retrieve the return type name for such mappings, so skipped them for now:
Need this addressed and fixed.
Interestingly, other very similar mappings like below are generated correctly.
For reference, see the table in .
I don’t see either kDNSServiceClass nor SparseSubfactorP in EnumMappings.def. Should they be present there? I’ve gone through the whole database looking for these entities and didn’t find anything like that. Could you provide a bit more examples?
After an investigation, I’ve found out that unlike kDNSServiceClass_IN, SparseSubfactorP is represented in the database and has a parent object of type SparseSubfactor_t. This may be the reason why SparseSubfactorP got generated correctly. But DataFacade doesn’t list kDNSServiceClass_IN. So, either it’s not in the database, or DataFacade doesn’t work correctly.
I don’t see how this can be quickly fixed.