pub fn bind_vectorize_for_dev(
text: &str,
dev: &BTreeMap<String, String>,
declared: &BTreeMap<String, String>,
) -> Result<String, String>Expand description
#3479: a Worker’s generated wrangler.toml for bynk dev. A Vectorize
has no local simulation, so each [[vectorize]] entry whose binding is in
dev is pointed at that index of the developer’s own with remote = true,
and the entries not in it are removed: the instance is unbound, and a call
to it faults saying how to bind it. [vars] gains one <binding> = "<dimensions>:<metric>" per bound index (declared), which the binding
checks the index against on its first call. dev and declared are keyed
by binding. The text is unchanged when there is no [[vectorize]].