Skip to content

XML doc crawling should only use <para> for line breaks #3180

@benmccallum

Description

@benmccallum

Describe the bug
When crawling XML comments on field members, currently the behaviour is that a line break in the XML comment --> a \n in the schema field description. This can create ugliness in UIs.

To Reproduce

        /// <summary>
        /// This is a comment that is long enough to need a new line in the
        /// CSharp but that new line shouldn't come out in description of 
        /// the field in the schema. 
        /// </summary>
        public string SomeField { get; } = "hello";

Expected behavior
New lines should only be generated for <para> usage in the XML comment.

Let GraphQL IDEs wrap long text lines themselves however they like in the available space they have.

Desktop (please complete the following information):

  • HC v11.0.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions