Skip to content

Cannot create null jsonBody #325

Open

Description

@chaoky

I thinks it's expected of a initResponse with a jsonBody of null to be serialized to "null", like in JSON.stringfy,
but it's being treated as undefined, and no body or header is being set

Activity

  1. hallvictoria commented on Jan 31, 2025

    @hallvictoria
    Contributor

    Hi Leo (@chaoky), thanks for this. We'll need to do some testing to ensure this doesn't affect any existing scenarios, but we hope to get this change in @azure/functions version 4.7.0 or 4.8.0. Loose ETA is late February - early March, and I'll post here if there are any delays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions