We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, when defining migrations using the shorthand $0/1 syntax, the data and decoder is used in the opposite order:
$0/1
static func datastore(for persistence: DiskPersistence<ReadWrite>) -> Datastore { .JSONStore( persistence: persistence, key: datastoreKey, version: .zero, migrations: [ .zero: { try $1.decode(KeyValue.self, from: $0) } ] ) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, when defining migrations using the shorthand
$0/1
syntax, the data and decoder is used in the opposite order:The text was updated successfully, but these errors were encountered: