Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: support for string interpolation or concatenation in polar #1734

Open
drwill-ms opened this issue Dec 12, 2023 · 0 comments

Comments

@drwill-ms
Copy link

drwill-ms commented Dec 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant