Can I safely have duplicates in config.jsonnet?
karolzlot opened this issue · 3 comments
karolzlot commented
I see that probably gmailctl checks for duplicates and won't export two the same filters / labels to gmail:
Please confirm, because I can't find it in docs.
I see in code that filters are removed, but what about duplicate labels?
karolzlot commented
Ok, I see that labels are not checked fro duplicates, I see them when I run diff
.
mbrt commented
Yes, I think there's no check for duplicated labels. Why? Is that a problem?
karolzlot commented
I am not sure if gmail will just ignore them?
Because if yes then diff
output shouldn't show them probably.
But after thinking about it, for my use case it probably won't matter.