- Add nullable annotations across discovery interfaces, dynamic query models, and filter/aggregate types to eliminate CS8600-series warnings - Replace unsafe cast in DynamicQueryHandlerBase with pattern match - Add CI workflow (build --warnaserror + test on JP branch) - Add weekly security vulnerability scan workflow - Extend .gitignore with secret/credential patterns (.env, *.key, secrets/, credentials.json) Co-Authored-By: Svrnty Inc. <eng@svrnty.com>
29 lines
697 B
C#
29 lines
697 B
C#
using System.Collections.Generic;
|
|
using PoweredSoft.DynamicQuery.Core;
|
|
|
|
namespace Svrnty.CQRS.DynamicQuery.Abstractions;
|
|
|
|
public interface IDynamicQuery<TSource, TDestination> : IDynamicQuery
|
|
where TSource : class
|
|
where TDestination : class
|
|
{
|
|
|
|
}
|
|
|
|
public interface IDynamicQuery<TSource, TDestination, out TParams> : IDynamicQuery<TSource, TDestination>, IDynamicQueryParams<TParams>
|
|
where TSource : class
|
|
where TDestination : class
|
|
where TParams : class
|
|
{
|
|
|
|
}
|
|
|
|
public interface IDynamicQuery
|
|
{
|
|
List<IFilter>? GetFilters();
|
|
List<IGroup>? GetGroups();
|
|
List<ISort>? GetSorts();
|
|
List<IAggregate>? GetAggregates();
|
|
int? GetPage();
|
|
int? GetPageSize();
|
|
} |