related Q... is it possible to serialize a schema ...
# apollo-kotlin
r
related Q... is it possible to serialize a schema AST into the introspection blob required by something like the apollo explorer? I see a
toMap
function that seems to be used for serialization, but that is marked as internal.
found it i think 🙂
Copy code
doc.validateAsSchema().value!!.toIntrospectionSchema().toJson()
b
That looks about right 👍