Skip to content

When a user returns return { ... } from a route instead of return ctx.json({ ... }), throw an error telling them to use ctx.json #30

@seveibar

Description

@seveibar

This bug confused me because I was accidentally returning a json object and it was throwing strange errors.

/bounty $8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions