Bit of a weird question…. Why is CDK/SST complaini...
# help
d
Bit of a weird question…. Why is CDK/SST complaining that I already have a construct named something. This is indeed true… but I would have thought it would take care of collisions for you if the conflict is from a third-party construct? Otherwise, as a `construct author`… should I be hashing all my names?
f
The ids only need to be unique within a given scope
This is fine
Copy code
stack
  - foo
    - aaa
  - bar
    - aaa
So as a construct author, u just need to ensure id uniqueness within ur scope (ur own construct)
d
hmmm … trying to figure out what this is whining about then.
f
Do u have two
QueryStringCachePolicy
within the same scope?
d
I think its because I used “scope” instead of “this”
ah
and thats being passed in as the stack
I see I see
f
yup yup
d
thanks @Frank and Happy New Year. Good Riddance to 2021!
f
Haha Happy New Year @Dan Van Brunt