Skip to content
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

Introduce a do-not-inherit this attribute modifier #63

Open
psss opened this issue Oct 17, 2019 · 2 comments
Open

Introduce a do-not-inherit this attribute modifier #63

psss opened this issue Oct 17, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@psss
Copy link
Collaborator

psss commented Oct 17, 2019

Sometimes it might be useful to define an attribute just for the current node and disable for it inheritance. It could look like this:

description.:
    This long description is intended just for this node and
    should not be inherited to children.

I suggest to use a dot . as the suffix as it signalizes that something is finishing here. Ideas?

@psss psss added the enhancement New feature or request label Oct 17, 2019
@psss
Copy link
Collaborator Author

psss commented Oct 29, 2020

This is a bit relevant to #14.

@lukaszachy lukaszachy changed the title Introduce a do-not-inherit modifier Introduce a do-not-inherit this attribute modifier Jul 21, 2023
@lukaszachy
Copy link
Collaborator

Updated the title as we have /: {inherit: false} which breaks the whole inheritance from parents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants