You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include a method with a Dictionary<string, string> parameter.
publicclassWithDictionaryArgs{/// <summary>/// This is a method description/// </summary>/// <param name="args">Args description</param>/// <returns></returns>publicstringMethod(Dictionary<string,string>?args=null)=>string.Empty;}
What is expected?
The documentation should be retrieved from XmlDocumentationProvider for the given method.
What is actually happening?
The XML path for methods with Dictionary arguments are generated incorrectly. The method name with a parameter of Dictionary<string, string> ends up with Dictionary{System.String],[System.String} rather than Dictionary{System.String,System.String}. This causes the XML element to not be found when calling XmlDocumentationProvider.GetDescription for the given method.
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered:
Product
Hot Chocolate
Version
14.0.0
Link to minimal reproduction
https://github.com/smbecker/graphql-platform/blob/sb-xml-docs/src/HotChocolate/Core/test/Types.Tests/Types/Descriptors/Conventions/XmlDocumentationProviderTests.cs#L419
Steps to reproduce
Include a method with a
Dictionary<string, string>
parameter.What is expected?
The documentation should be retrieved from
XmlDocumentationProvider
for the given method.What is actually happening?
The XML path for methods with
Dictionary
arguments are generated incorrectly. The method name with a parameter ofDictionary<string, string>
ends up withDictionary{System.String],[System.String}
rather thanDictionary{System.String,System.String}
. This causes the XML element to not be found when callingXmlDocumentationProvider.GetDescription
for the given method.Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: