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

feat(inspect-api): return empty list of 'items' instead of 'null' #3765

Merged
merged 2 commits into from
Feb 7, 2022

Conversation

lobkovilya
Copy link
Contributor

Summary

Instead of:

{
 "total": 0,
 "items": null
}

no API returns:

{
 "total": 0,
 "items": []
}

Full changelog

  • return empty list

Issues resolved

N/A

Documentation

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

Backwards compatibility

- [ ] Update UPGRADE.md with any steps users will need to take when upgrading.
- [ ] Add backport-to-stable label if the code follows our backporting policy

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
@lobkovilya lobkovilya requested a review from a team as a code owner January 31, 2022 10:38
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
@lahabana
Copy link
Contributor

lahabana commented Feb 7, 2022

@lobkovilya what's blocking merging this PR?

@lobkovilya lobkovilya merged commit 1e26f60 into master Feb 7, 2022
@lobkovilya lobkovilya deleted the feat/inspect-api-empty-response branch February 7, 2022 09:29
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