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

Incosistent behaviour on Methods of Partial CRUD Methods #300

Open
sharpner opened this issue Oct 26, 2017 · 0 comments
Open

Incosistent behaviour on Methods of Partial CRUD Methods #300

sharpner opened this issue Oct 26, 2017 · 0 comments

Comments

@sharpner
Copy link
Member

I stumbled upon this:
https://github.com/manyminds/api2go/blob/master/api_interfaces_test.go#L335
https://github.com/manyminds/api2go/blob/master/api_interfaces_test.go#L440

which seems to have slipped through our eyes. Every tests checks for 405 (even though the description state 404) except the first one for create.

We should investigate what's happening here. If you ask me, every route should return 405 if the route is registered but the method is not.

@sharpner sharpner added this to the Release 1.0 milestone Oct 26, 2017
@sharpner sharpner changed the title Is this correct behaviour? Incosistent behaviour on Methods of Partial CRUD Methods Oct 26, 2017
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

1 participant