sid88in / serverless-appsync-plugin

serverless plugin for appsync
MIT License
951 stars 189 forks source link

fix: Convert modern GraphQL descriptions into comments #639

Open jimmyn opened 2 months ago

jimmyn commented 2 months ago

Currently, modern descriptions from the June 2018 specification are removed during schema stitching, as mentioned here. This PR introduces a method that converts modern descriptions into comments supported by AppSync. This functionality works for both individual file schemas and multiple schemas that are stitched together. This ensures that schemas can be maintained with documentation in the modern format.