apollo-rs icon indicating copy to clipboard operation
apollo-rs copied to clipboard

apollo-compiler: add support for serializing # comments

Open bnjjj opened this issue 2 years ago • 3 comments

example:

# Here is my comment
query {
  cats
}

bnjjj avatar Feb 16 '22 14:02 bnjjj

So, what did you think about """ """ comments? Can I join prev variant and "#" in one crate inside apollo-encoder?

ArkashaJavelin avatar Aug 22 '22 18:08 ArkashaJavelin

@ArkashaJavelin what you're referring to is a description:

"""
description
"""

Descriptions are already supported by apollo-encoder. Comments are a different graphql type, and while should also be supported by the encoder, don't have exactly the same encoding logic. Thus, the reason for this ticket.

lrlna avatar Aug 22 '22 19:08 lrlna

@lrlna , thanks;)

ArkashaJavelin avatar Aug 23 '22 05:08 ArkashaJavelin