Skip to content

Conversation

@Eijebong
Copy link
Contributor

Because we cache the return value, we don't want to be returning objects with inner mutability as a consumer modifying those would end up modifying the cached value, impacting all future accesses.

Because we cache the return value, we don't want to be returning objects
with inner mutability as a consumer modifying those would end up
modifying the cached value, impacting all future accesses.
@Eijebong Eijebong requested a review from a team as a code owner October 17, 2025 14:12
@Eijebong Eijebong enabled auto-merge (squash) October 17, 2025 14:14
@Eijebong Eijebong merged commit f73212c into taskcluster:main Oct 17, 2025
14 checks passed
Copy link
Contributor

@jcristau jcristau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On second thought.. the values in these ReadOnlyDicts are still mutable...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants