- 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>
24 lines
592 B
C#
24 lines
592 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Svrnty.CQRS.Abstractions.Discovery;
|
|
|
|
public interface IQueryDiscovery
|
|
{
|
|
IQueryMeta? FindQuery(string name);
|
|
IQueryMeta? FindQuery(Type queryType);
|
|
IEnumerable<IQueryMeta> GetQueries();
|
|
bool QueryExists(string name);
|
|
bool QueryExists(Type queryType);
|
|
}
|
|
|
|
public interface ICommandDiscovery
|
|
{
|
|
bool CommandExists(string name);
|
|
bool CommandExists(Type commandType);
|
|
ICommandMeta? FindCommand(string name);
|
|
ICommandMeta? FindCommand(Type commandType);
|
|
IEnumerable<ICommandMeta> GetCommands();
|
|
}
|
|
|