Skip to content

Conversation

miparnisari
Copy link
Contributor

@miparnisari miparnisari commented Aug 6, 2025

Description

Embedding a struct A into another struct B exposes the methods in struct A as part of B's interface, which in the case of Manager is a bad idea since we don't want outsiders messing with Manager's locks.

Copy link
Contributor

@tstirrat15 tstirrat15 left a comment

Choose a reason for hiding this comment

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

I dig

@miparnisari miparnisari merged commit f039610 into main Aug 21, 2025
9 checks passed
@miparnisari miparnisari deleted the chore-deanonymize-field branch August 21, 2025 23:35
@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants