-
Hi, I'm currently working on a project where I need to parse the output of a schema introspection query and then generate the schema in SDL format. Looks like I could export the schema in SDL using https://docs.rs/apollo-encoder/latest/apollo_encoder/ but I wonder if there is an easy way of creating the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm not certain if this helps you, but we have a crate called |
Beta Was this translation helpful? Give feedback.
I'm not certain if this helps you, but we have a crate called
introspector_gadget
that could be along the lines of what you're trying to do (or help!): https://github.com/apollographql/introspector-gadget. It usesapollo_encoder
to print the SDL and accepts the JSON representation of the schema.