Skip to content

Bake variable typing support? #495

@rrjjvv

Description

@rrjjvv

Do you have any plans to support Bake (explicit) variable typing? If not planned, would you be open to it?

It just so happens I started using this server at the same time I was working on an older bake project which predated typing. As I was updating it to utilize typing, simple usages 'worked' (they didn't trigger any errors/warnings, but also didn't offer any new functionality), until I hit #490. While investigating, I saw there is no explicit support and that it was working 'on accident'. I'm now starting to run into things getting flagged as errors.

The typing feature is still relatively new; it was introduced six months ago (https://github.com/docker/buildx/releases/tag/v0.24.0), and I have yet to see it used in a public project. I wasn't surprised that it was not actively supported or that there were no open issues about it.

(All of my current errors went away by adding just five lines to the schema.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions