public KqlValidationTests() { _queryValidator = new KqlQueryAnalyzerBuilder() .WithSentinelDefaultTableSchemas() .WithCustomTableSchemasLoader(new CustomTablesSchemasLoader()) .Build(); }
public KqlValidationTests() { _queryValidator = new KqlQueryAnalyzerBuilder() .WithSentinelDefaultTablesAndFunctionsSchemas() .WithCustomTableSchemasLoader(new CustomJsonDirectoryTablesLoader(Path.Combine(Utils.GetTestDirectory(TestFolderDepth), "CustomTables"))) .WithCustomFunctionSchemasLoader(new CustomJsonDirectoryFunctionsLoader(Path.Combine(Utils.GetTestDirectory(TestFolderDepth), "CustomFunctions"))) .Build(); }