You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Establish ownership/copying convention for shared maps #344
getCentralResourcesOperator returns a shared static map. Callers that pass it into mergo.Merge (which mutates the destination) must deep-copy first to avoid corrupting the shared data. There's no documented convention for who is responsible for copying.
Should we adopt a style guideline — e.g. "functions returning shared maps must return copies" or "callers must always copy before mutating"?
Activity