Revisit code details usage across container and context
We should not expose the context's code details exclusively. We need to make it private, and add a public getter that swaps it for the module code details after load. As this is available to the runtime, and will allow the runtime to access it's own code details.
Follow up of #6394.
Currently the container's codeDetails property returns either context's code details, i.e. loaded by the code loader, or the details from the quorum. This might be confusing to developers as it's not clear what intention here is. Also, the property should be documented. The problem is these two values are not always the same and we need to make it clear.
This issue has been automatically marked as stale because it has had no activity for 180 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!