Skip to content

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

@drwill-ms

Description

@drwill-ms

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions