Closed fconlon closed 5 years ago
Noticed that child cache is not the same pointer as the cache that is returned by Getting cache by name. Is there a reason for that?
It depends on what you're trying to do with it and how the cache is configured.
I would suggest comparing the names rather than the raw pointers. The names are required to be kept unique
I ended up comparing names. Now I'm having an issue where under very specific, but not unreasonable conditions, the child cache isn't being added. If the user tries to add an invalid or cycle cache as a child then adds a valid cache it won't add the cache. I'm gonna spend about 30 more min on it and if I can't figure it out then I'm going to close this issue and open a bug issue. At the moment though criteria 5 is working according to the way it is written here.
Commit f1bd0c46a69addf78d290a76046bc6e2ec13b643 adds functionality for criteria 5. Closing this issue and opening a bug issue for previously mentioned bug
Criteria 1
Given:
When:
Then:
Criteria 2
Given:
When:
Then:
Criteria 3
Given:
When:
Then:
Criteria 4
Given:
When:
Then:
Criteria 5
Given:
When:
Then: