Skip to main content

mdc__key

Function mdc__key 

Source
pub fn mdc__key(value: &str) -> String
Expand description

Instantiates the <key> placeholder in the attribute MDC__KEY (mdc.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::mdc__key;
assert_eq!(mdc__key("foobar"), "mdc.foobar");