def METHOD_NAME(self, type_name: str = "*", field_name: Optional[str] = None):
    """Registers the resolver for field_name
    Parameters
    ----------
    type_name : str
        Type name
    field_name : str
        Field name
    """
    def register_resolver(func):
        logger.debug(f"Adding resolver `{func.__name__}` for field `{type_name}.{field_name}`")
        self._resolvers[f"{type_name}.{field_name}"] = {"func": func}
        return func
    return register_resolver