Skip to main content

params__key

Function params__key 

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

Instantiates the <key> placeholder in the attribute PARAMS__KEY (params.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::params__key;
assert_eq!(params__key("foobar"), "params.foobar");