Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A boolean flag could be added in the Serde, where upon the first time configure() has been called, it cannot be called again the second time it is called, it will be a no-op (because isConfigured  has been set from false to true). This approach might be simpler to implement because the upgrade path is more straightforward.

...