(@aws-cdk/aws-appsync): support for GraphQL documentation #18907
Labels
@aws-cdk/aws-appsync
Related to AWS AppSync
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
feature-request
A feature should be added or improved.
p2
Description
It looks like there is no support in code first approach to add documentation (block strings) to generated GraphQL schemas.
Use Case
Generated GraphQL would contain documentation on fields and types.
Tools can then use introspection queries to display documentation from GraphQL schemas generated by @aws-cdk/aws-appsync (we have the use case for our platform).
Proposed Solution
Add an attribute to
FieldOptions
,IntermediateTypeOptions
and more to allow documenting types and fields.That would result in GraphQL schema:
Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: