Is targetName mandatory in suppressions? #3259
|
Per docs, I define suppressions like this, with suppression:
isFruit:
targetName:
- FridgeI also get the same result without using suppression:
isFruit:
- FridgeIs this a legit (can use) or undocumented (should avoid) feature? |
Answered by
BernieWhite
Mar 23, 2026
Replies: 1 comment
|
Roman Kuzmin 1967-2026 (@nightroman) It's intended and supported, just a simplification because there is only one property that can be currently configured. Feel free to use suppression with or without So to answer the short question, If an extra property is ever added and you wanted to use that then you'd need to use the longer form. |
0 replies
Answer selected by
nightroman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Roman Kuzmin 1967-2026 (@nightroman) It's intended and supported, just a simplification because there is only one property that can be currently configured. Feel free to use suppression with or without
targetNamein production use cases.So to answer the short question,
targetNameis optional.If an extra property is ever added and you wanted to use that then you'd need to use the longer form.