only allow reference types on the server side

This commit is contained in:
Pilzinsel64
2025-03-28 11:08:48 +01:00
parent b3e24d7fdc
commit 81c0d51417
5 changed files with 44 additions and 47 deletions

View File

@@ -2,15 +2,12 @@
using Pilz.Net.Data;
using Pilz.Net.Extensions;
using System.Diagnostics;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Pilz.Net.Api.Server;
public abstract class BaseHandler<TEntity, TUpdateMsg>(IApiServer server)
: IApiHandlerInitializer
where TEntity : IDataObject
where TEntity : class, IDataObject
where TUpdateMsg : ApiMessage
{
public abstract string Route { get; }