Skip to content

How to print the raw request #162

Answered by budde377
baconcheese113 asked this question in Q&A
Discussion options

You must be logged in to vote

I haven't tested this, but I recon you can do something like

import 'package:gql/language.dart';

main() {
  print(printNode(yourDocumentNodeGeneratedByGraphqlCodegen));
}

Replies: 2 comments 3 replies

Comment options

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

Comment options

You must be logged in to vote
2 replies
@baconcheese113
Comment options

@budde377
Comment options

Answer selected by budde377
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