mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update automapper spec in line with v11
See https://docs.automapper.org/en/latest/11.0-Upgrade-Guide.html for more details.
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using AutoMapper;
|
||||
using JetBrains.Annotations;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Framework.Testing;
|
||||
@ -37,7 +36,6 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public BeatmapMetadata Metadata { get; set; }
|
||||
|
||||
[IgnoreMap]
|
||||
[Backlink(nameof(ScoreInfo.BeatmapInfo))]
|
||||
public IQueryable<ScoreInfo> Scores { get; } = null!;
|
||||
|
||||
@ -155,7 +153,6 @@ namespace osu.Game.Beatmaps
|
||||
#region Compatibility properties
|
||||
|
||||
[Ignored]
|
||||
[IgnoreMap]
|
||||
public int RulesetID
|
||||
{
|
||||
get => Ruleset.OnlineID;
|
||||
@ -169,7 +166,6 @@ namespace osu.Game.Beatmaps
|
||||
}
|
||||
|
||||
[Ignored]
|
||||
[IgnoreMap]
|
||||
public BeatmapDifficulty BaseDifficulty
|
||||
{
|
||||
get => Difficulty;
|
||||
|
Reference in New Issue
Block a user