Conduit icon indicating copy to clipboard operation
Conduit copied to clipboard

fix(database,email,forms): handler returned types not matching declared types

Open kon14 opened this issue 3 years ago • 0 comments

Fixes certain handlers still returning totalCount despite their return signature suggesting they return count. All counts are now in truly consistently returned as count across all routes.

What kind of change does this PR introduce?

  • [X] Bugfix
  • [ ] Feature
  • [ ] Code style update
  • [ ] Refactor
  • [ ] Build-related changes
  • [ ] Other (please describe)

Does this PR introduce a breaking change?

  • [ ] Yes
  • [X] No

Branding this as a bugfix instead of a breaking change as our route doc already specified that return type.

The PR fulfills these requirements:

  • [X] It's submitted to the main branch
  • [ ] When resolving a specific issue, it's referenced in the PR's description (e.g. fix #xxx, where "xxx" is the issue number)

kon14 avatar Aug 09 '22 10:08 kon14