Fix last build errors

This commit is contained in:
Nikolaj Geisle
2022-02-24 14:39:29 +01:00
parent 3bf2778803
commit 2009f7585b
93 changed files with 556 additions and 450 deletions

View File

@@ -21,9 +21,9 @@ namespace Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
{ }
/// <inheritdoc />
public IReadOnlyDictionary<string, string>? FindByKeyPrefix(string keyPrefix)
public IReadOnlyDictionary<string, string?>? FindByKeyPrefix(string keyPrefix)
=> Get(Query<IKeyValue>().Where(entity => entity.Identifier!.StartsWith(keyPrefix)))?
.ToDictionary(x => x.Identifier!, x => x.Value!);
.ToDictionary(x => x.Identifier!, x => x.Value);
#region Overrides of IReadWriteQueryRepository<string, IKeyValue>