FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Revisit code details usage across container and context

Open alpaix opened this issue 5 years ago • 2 comments

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.

alpaix avatar Jun 16 '21 17:06 alpaix

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.

alpaix avatar Jul 12 '21 22:07 alpaix

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!

ghost avatar Jan 09 '22 03:01 ghost