We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a1dfa7 commit e855c2dCopy full SHA for e855c2d
docs/code-standards/elastic-client.asciidoc
@@ -42,8 +42,8 @@ var fluentParametersNotNamedSelector =
42
from m in typeof(IElasticClient).GetMethods()
43
from p in m.GetParameters()
44
where p.ParameterType.BaseType() == typeof(MulticastDelegate)
45
- where !p.Name.Equals("selector")
46
- select $"method '{nameof(IElasticClient)}.{m.Name}' should have parameter name of 'selector' but has a name of '{p.Name}'";
+ where !p.Name.Equals("selector") && !p.Name.Equals("mapper")
+ select $"method '{nameof(IElasticClient)}.{m.Name}' should have parameter name of 'selector' or 'mapper' but has a name of '{p.Name}'";
47
fluentParametersNotNamedSelector.Should().BeEmpty();
48
----
49
0 commit comments