only allow reference types on the server side
This commit is contained in:
@@ -7,8 +7,8 @@ namespace Pilz.Net.Api.Server;
|
||||
|
||||
public abstract class BaseChildItemHandler<TEntity, TParent, TUpdateMsg>(IApiServer server)
|
||||
: BaseHandler<TEntity, TUpdateMsg>(server)
|
||||
where TEntity : IDataObject
|
||||
where TParent : IDataObject
|
||||
where TEntity : class, IDataObject
|
||||
where TParent : class, IDataObject
|
||||
where TUpdateMsg : ApiMessage
|
||||
{
|
||||
protected virtual bool RegisterGetAll => true;
|
||||
|
||||
Reference in New Issue
Block a user