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

Feature Request: Random key generation #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nebulous
Copy link

And because it's impolite to request features without patches, here's a simple if possibly a bit too simple implementation and test.

@nebulous
Copy link
Author

Also, clearly using a uuid would be better, but I didn't want to add dependencies.

@nebulous
Copy link
Author

nebulous commented Dec 2, 2014

Added conversion from Any::Moose to Moose. Unfortunately Module::Runtime 0.014 doesn't work (see http://www.perlmonks.org/?node_id=1083777) but 0.013 does just fine.

Probably this should all be converted to Moo since it's the new hotness, but this was easy and it passes tests.

yanick added a commit to yanick/DBIx-NoSQL that referenced this pull request Apr 21, 2017
   - set() now auto-generate the entry's key if not provided
       (and returns the key as its return value). (GH#3, nebulous)

Fixes robertkrimen#3
@yanick
Copy link
Contributor

yanick commented Apr 21, 2017

Released. Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants