Class RootSettingsDocument
- Namespace
- MailFathom.Infrastructure.Persistence.Settings
- Assembly
- MailFathom.Infrastructure.dll
The persisted configuration document, as one snapshot with the version it was read at.
public sealed record RootSettingsDocument : IEquatable<RootSettingsDocument>
- Inheritance
-
RootSettingsDocument
- Implements
- Inherited Members
Remarks
The whole document travels together because the configuration layer built from it is replaced whole: a reader that answered per key would query the database once per configuration property, and a reload that merged into the previous snapshot could not express a key the new document no longer carries.
Constructors
- RootSettingsDocument(string, long)
The persisted configuration document, as one snapshot with the version it was read at.
Fields
- MaximumOctets
The largest document this build composes settings from, and therefore the largest one it will persist.
Properties
- Json
The sparse settings document, as the JSON object the row holds.
- Version
The version the document was read at, which a writer states and is refused against.