Skip to content

Please consider adding [StringSyntax("GraphQL")] attributes #630

@lol768

Description

@lol768

.NET allows you to use the StringSyntaxAttribute to mark up properties that are being used to hold text that an IDE should consider an "injected language".

E.g. GraphQLRequest.Query could be marked as a GraphQL fragment, and tools such as this VSCode plugin and other IDEs (e.g. JetBrains Rider) would be able to syntax highlight queries automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions