pub fn resolve(action: &str, params: &Value) -> Result<(&'static str, Value)>Expand description
Resolves action to a concrete (target_action, params) pair.
ยงErrors
Returns UnifiError::HybridRouting if params.prefer is present but
not a "official"/"internal" string, or if action has no mapping for
the resolved side.