I have created a Custom Metadata Type that has a field with a relationship to EntityDefinition(object).
This EntityDefinition here suggests a field RecordTypes, but it is available only in the Tooling API, which does not support Custom Metadata Types. I can work around it by querying the record types with the object name I get from EntityDefinition, but I was thinking if there is a more direct approach to it.
Thoughts, please.