Skip to main content

url__path__parameter__key

Function url__path__parameter__key 

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

Instantiates the <key> placeholder in the attribute URL__PATH__PARAMETER__KEY (url.path.parameter.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::url__path__parameter__key;
assert_eq!(url__path__parameter__key("foobar"), "url.path.parameter.foobar");