Skip to content

Is there a way to support guid in pathScan? #391

Description

@mastoj

I often use guids in my url since I like to generate unique ids in a simple way. I know this might be tricky, but would it be possible to add a specifier for guid in pathScan? Without that option using routes that contain one or more guid values aren't nice or type safe.

I tried using active patterns to see what it would be and I think it way to verbose if you have a lot of urls in an application, https://gist.github.com/mastoj/b191859e2c45bd233fb0.

Another approach would be to just read the parameters as a regular string and parse it in the webpart, but that isn't that nice either.

I guess this won't be fixed unless a specifier for guid is added to the Core.Printf module, or can it be added without guid support in Core.Printf?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions