We have below describe call to get the record type id by name.
Id recordTypeId = Schema.SObjectType.Case.getRecordTypeInfosByName().get('RECORD_TYPE_NAME_NOT_DEVELOPER_NAME').getRecordTypeId();
This gives the id of the record but this logic is based on label of the record type instead of developer name. That means if we change the Label of record type then any code using such mechanism will break.
I know we can make a query to get the record type id by developer name but that will cost me a SOQL which I don't want to.
Is there any describe call to get the record type id by developer name without making the SOQL?