Explore options for immutable model structs

Description

Explore the possible options for how to do immutable deep-copy-to-write model structs.

This should deal with the many weird bugs where we write to a pointer and it poisons data in the cache.

The solution needs to be performant on the happy path though!

QA Test Steps

None

Reporter

None

Status

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

George Goldberg

Epic Link

Fix versions

Mattermost Team

Platform

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None
Configure