I have a case where a resource can include tokens for substitution with runtime variables. The resource path can be genericized based on properties of the actor, for example: clients/{actor.clientId}/*.
When the Polar is constructed, I'd like to be able to specify that token to be substituted but still be evaluated at a string. I could see specifying something like the example above, but I'd live with "clients/" + actor.client_id + "/*".
In my case, these values are being passed to an added method in the class builder (Rust). My current workaround is to pass the values as an array of strings and then concatenate them in the called method. It would be nice if Polar supported this directly, instead.
Thank you for your consideration. :)
David