Join Slack
Powered by
related Q... is it possible to serialize a schema ...
# apollo-kotlin
r
Ryan Brink
06/02/2023, 10:11 PM
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.
Ryan Brink
06/02/2023, 10:35 PM
found it i think 🙂
Copy code
doc.validateAsSchema().value!!.toIntrospectionSchema().toJson()
b
bod
06/03/2023, 6:11 AM
That looks about right 👍
4
Views
Open in Slack
Previous
Next