Skip to content

Some symbols are unnecessarily escaped within config-schema.json #13725

@igorlfs

Description

@igorlfs

What versions & operating system are you using?

Wrangler 4.78.0, Linux

Please provide a link to a minimal reproduction

N/A

Describe the Bug

The generated config-schema.json (for the wrangler package) is too "conservative" when escaping characters: it basically escapes every allowed character, all the time. When using hover via LSP, the output is often noisy and unhelpful. For instance, with neovim:

Image

(notice the extraneous \)

Particularly, URLs are the most broken: I can't just click a link, I have to manually remove the escapes.

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions