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

Own generateKey tool / module #419

Closed
skogsmaskin opened this issue Dec 9, 2017 · 1 comment
Closed

Own generateKey tool / module #419

skogsmaskin opened this issue Dec 9, 2017 · 1 comment

Comments

@skogsmaskin
Copy link
Member

skogsmaskin commented Dec 9, 2017

We have the generateKey method laying around different places as unexported code. We should make this an own module or importable function (from sanity/core maybe?) for everyone to use.

Also we should have some basic documentation on what keys are used for and what their requirements are.

@rexxars
Copy link
Member

rexxars commented Mar 19, 2021

We'll want to automatically create keys for objects in arrays in the future instead of requiring this to be done on the server side. Until then we can use something like the nanoid module

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

No branches or pull requests

3 participants