Skip to content

Feature Request: Convert schema doc comments to C# <summary> docs #143

Description

@Petrusion

Is your feature request related to a problem? Please describe.
ZeroQL doesn't copy graphql documentation strings from schemas. If there are doc comments in the schema, the properties and classes in C# won't have any documentation.

Describe the solution you'd like
Convert documentation comments like

"documentation of some_field"
some_field: some_type

or

"""
documentation of some_field
"""
some_field: some_type

from the graphql schema to

/// <summary>
/// documentation of some_field
/// </summary>
some_type some_field { get; set; }

in the generated C# code.

Describe alternatives you've considered
The only option I have is to look up the documentation strings outside of my IDE whenever I need them. The API I'm working with is only documented in the schema and nowhere else, so I need them quite often.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions