I am facing issue in including custom data type in NewEnv variables.i the following go code
I am trying to define Actor as custom datatype. but its keep on failing during compile time only. any hints to solve same.
env, err := cel.NewEnv(
cel.Variable("actor", Actor{}),
cel.Variable("request", cel.MapType(cel.StringType, cel.AnyType)),
cel.Variable("resource", cel.MapType(cel.StringType, cel.AnyType)),
)