Skip to content

how to keep comments when using mergeTypeDefs #4352

Answered by ardatan
matart15 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!
You can use this flag https://github.com/ardatan/graphql-tools/blob/master/packages/merge/src/typedefs-mergers/merge-typedefs.ts#L54 and now mergeTypeDefs will return a string instead of an object.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matart15
Comment options

Answer selected by matart15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants