hypermedia-app / shaperone

Form UI elements driven by SHACL Shapes
https://forms.hypermedia.app
MIT License
46 stars 5 forks source link

Configurable strategy for minting URIs #238

Open tpluscode opened 2 years ago

tpluscode commented 2 years ago

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_