shaperone icon indicating copy to clipboard operation
shaperone copied to clipboard

Configurable strategy for minting URIs

Open tpluscode opened this issue 2 years ago • 0 comments

I would add an options{} object to the default function and put this function as an optional parameter.

Just in case one doesn't want to use nanoid() to mint URIs (for use, for example, use incremental integers instead).

The default would be nanoid()

Originally posted by @cristianvasquez in https://github.com/hypermedia-app/shaperone/pull/236#discussion_r959607175

tpluscode avatar Sep 01 '22 06:09 tpluscode