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

GET categor(y/ies): Fix JSON results #117

Merged

Conversation

uklotzde
Copy link
Member

@uklotzde uklotzde commented Nov 1, 2018

A preliminary workaround that fixes the invalid JSON results reported in #115. Now the behaviour is at least consistent with the corresponding GET methods for entries and ratings by always returning a JSON array. This is not an incompatible API change, because the affected function was completely unusable.

The RESTful API design issues still need to be fixed by splitting the use cases for looking up a single entity vs. searching multiple entities into separate functions.

@uklotzde uklotzde requested a review from flosse November 1, 2018 16:59
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 81.009% when pulling a9aa2cb on uklotzde:#115_invalid_json_temporary_workaround into 9a90a1b on flosse:master.

@flosse flosse merged commit a9aa2cb into kartevonmorgen:master Nov 1, 2018
@uklotzde uklotzde deleted the #115_invalid_json_temporary_workaround branch November 29, 2018 14:17
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

3 participants