Fix Redis Support

I'm too happy about this.

https://github.com/redis/redis-om-dotnet/issues/105
This commit is contained in:
jvyden 2022-05-17 00:02:28 -04:00
parent 6fb48234e5
commit b87d9540d0
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
4 changed files with 3 additions and 3 deletions

View file

@ -11,6 +11,7 @@ public class Room
{
private int roomId;
[Indexed]
public int RoomId {
get => this.roomId;
set {

View file

@ -9,6 +9,8 @@ namespace LBPUnion.ProjectLighthouse.PlayerData.Profiles;
public class UserFriendData
{
private int userId;
[Indexed]
public int UserId {
get => this.userId;
set {

View file

@ -1,14 +1,12 @@
#nullable enable
using System;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using LBPUnion.ProjectLighthouse.Configuration;
using LBPUnion.ProjectLighthouse.Extensions;
using LBPUnion.ProjectLighthouse.Logging;
using LBPUnion.ProjectLighthouse.Match.Rooms;
using LBPUnion.ProjectLighthouse.PlayerData.Profiles;
using LBPUnion.ProjectLighthouse.Types;
using Redis.OM;
using Redis.OM.Contracts;
using Redis.OM.Searching;

View file

@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using LBPUnion.ProjectLighthouse.PlayerData.Profiles;
using LBPUnion.ProjectLighthouse.Types;
namespace LBPUnion.ProjectLighthouse.StorableLists.Stores;