Skip to content

Show redefined attribute's original value as an inlay hint when extending services in Compose #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rcjsuen opened this issue May 5, 2025 · 0 comments · Fixed by #163
Assignees
Labels

Comments

@rcjsuen
Copy link
Collaborator

rcjsuen commented May 5, 2025

Given this YAML file, we should use an inlay hint to show the original value of hostname from test since test2 has chosen to override this value. We will only consider service extensions in the current file for starters.

services:
  test:
    image: redis:alpine
    hostname: hello
  test2:
    extends: test
    hostname: world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant