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

Let IDs be strings as well #61

Closed
notpushkin opened this issue Apr 12, 2015 · 3 comments
Closed

Let IDs be strings as well #61

notpushkin opened this issue Apr 12, 2015 · 3 comments

Comments

@notpushkin
Copy link

For example, I want usernames to be user IDs, like /users/iamale.

@typicode
Copy link
Owner

Hi Ale,

Thanks, it's a bug. I did a quick fix in v0.6.9, so:

{
  users: [ { id: 'iamale' } ]
}

should work now with /users/iamale.

However, new users will have a uuid generated id.
Do you need to customize newly created ids?

@notpushkin
Copy link
Author

Sorry for not responding to this :(
I think it is fine now, thanks!

@typicode
Copy link
Owner

No worries :)

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

No branches or pull requests

2 participants