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

Conflict keys/{name} with keys/seed #2521

Closed
fedekunze opened this issue Oct 17, 2018 · 1 comment
Closed

Conflict keys/{name} with keys/seed #2521

fedekunze opened this issue Oct 17, 2018 · 1 comment
Labels

Comments

@fedekunze
Copy link
Collaborator

From @NodeGuy #1442 (comment):

There's a bug in the current design:
POST /keys a new key with name Chris.
GET /keys/Chris returns the new key.
POST /keys a new key with name seed.
GET /keys/seed does not return the new key, violating the REST abstraction of keys as a collection.
This confused a contract test I wrote and I had to add extra code to work around the bug.

@fedekunze
Copy link
Collaborator Author

keys deleted from REST

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

No branches or pull requests

2 participants