mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-09-12 21:57:19 -04:00
It is derived from AccountId, AccountName and Locale, so Newtonsoft was writing a stale copy of three fields that are already in the file. Locale next to it was already ignored for the same reason; this one was missed. Harmless, but it is the sort of thing that gets read back one day as if it meant something. Four tests pin the serialized shape: the two computed properties stay out, the set of persisted members is asserted whole so a new property has to be a decision rather than an accident, and a file already carrying the stray key still loads and is rewritten without it. Verified against the app rather than only the tests - renaming an account and saving no longer adds the key. Co-authored-by: rmcrackan <rmcrackan@gmail.com>