Skip to main content

query__key

Function query__key 

Source
pub fn query__key(value: &str) -> String
๐Ÿ‘ŽDeprecated:

Use URL__QUERY (url.query) instead.

Expand description

Instantiates the <key> placeholder in the attribute QUERY__KEY (query.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::query__key;
assert_eq!(query__key("foobar"), "query.foobar");