Bake variable typing support?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
The issue does not name a file or test. Start by tracing how Bake variables are represented and validated, then review issue #490 and the linked Docker Bake variable-typing reference. Done means explicitly typed variables no longer produce erroneous diagnostics and their supported behavior is covered by tests.
Written by the indexing model from the issue text.
Description
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.)
- Dominant language
- Go
- Stars
- 185
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/docker-language-server
-
dockerfile
Difficulty 3/5 1-2 days Newbie friendliness 45/100
docker/docker-language-server#499 ·
-
bake
docker/docker-language-server#472 · 4 comments · 1 assignee ·
-
dockerfile
docker/docker-language-server#411 · 1 assignee ·
-
dockerfile
Difficulty 4/5 3-5 days Newbie friendliness 20/100
docker/docker-language-server#374 ·
-
bake compose dockerfile
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker/docker-language-server#195 · 1 comment ·
All issues in docker/docker-language-server
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100