FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Do not throw in Container.proposeCodeDetails when compare is less than

Open arinwt opened this issue 5 years ago • 1 comments

Instead, rely on the return value of the function to indicate what happened.

Current behavior:

  1. New code compares older than Current code: throws an error
  2. Proposed code is accepted: returns true
  3. Proposed code is rejected: returns false

Do not throw in (1) case, just return a meaningful value.

arinwt avatar Feb 02 '21 01:02 arinwt

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 Aug 01 '21 03:08 ghost