mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-24 01:04:49 -06:00
8e410b830a
Adding string interpolation support to the Rego language. An interpolated string is composed of a template-string that can contain zero or more template-expressions that interpolates values into the string generated at eval-time. Requires the `template_strings` capability feature and `internal.template_string` built-in function. Implements: #4733
8 lines
134 B
C
8 lines
134 B
C
#ifndef OPA_TEMPLATE_STRING_H
|
|
#define OPA_TEMPLATE_STRING_H
|
|
|
|
#include "value.h"
|
|
|
|
opa_value *opa_template_string(opa_value *a);
|
|
|
|
#endif |