{"action":"closed","issue":{"url":"https://api.github.com/repos/corenova/yang-js/issues/62","repository_url":"https://api.github.com/repos/corenova/yang-js","labels_url":"https://api.github.com/repos/corenova/yang-js/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/corenova/yang-js/issues/62/comments","events_url":"https://api.github.com/repos/corenova/yang-js/issues/62/events","html_url":"https://github.com/corenova/yang-js/issues/62","id":202767803,"node_id":"MDU6SXNzdWUyMDI3Njc4MDM=","number":62,"title":"if-feature in feature","user":{"login":"vcshox","id":12146260,"node_id":"MDQ6VXNlcjEyMTQ2MjYw","avatar_url":"https://avatars3.githubusercontent.com/u/12146260?v=4","gravatar_id":"","url":"https://api.github.com/users/vcshox","html_url":"https://github.com/vcshox","followers_url":"https://api.github.com/users/vcshox/followers","following_url":"https://api.github.com/users/vcshox/following{/other_user}","gists_url":"https://api.github.com/users/vcshox/gists{/gist_id}","starred_url":"https://api.github.com/users/vcshox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vcshox/subscriptions","organizations_url":"https://api.github.com/users/vcshox/orgs","repos_url":"https://api.github.com/users/vcshox/repos","events_url":"https://api.github.com/users/vcshox/events{/privacy}","received_events_url":"https://api.github.com/users/vcshox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-24T09:40:21Z","updated_at":"2018-10-13T01:37:53Z","closed_at":"2018-10-13T01:37:53Z","author_association":"CONTRIBUTOR","body":"```yang\r\nfeature feature-foo;\r\nfeature feature-bar{\r\n  if-feature foo;\r\n}\r\ncontainer c {\r\n  if-feature \"feature-bar\";\r\n}\r\n```\r\n\r\nIt seems that `container c` is always active when `feature-bar` is **\"on\"**, no matter what `feature-foo` is.\r\nAccording to [RFC if-feature](https://tools.ietf.org/html/rfc7950#section-7.20.2), I think the `if-feature` in a `feature` should influence its effectiveness"}}
{"actor":{"display_login":"saintkepha"}}