generate avro schema from graphql mutation

generate avro schema from graphql mutation


0

I’m trying to migrate our endpoints from REST to graphQL. For now, we’re starting small with mutations only. we’re also changing from JSON to avro, which requires schema. I’m wondering if it’s possible to build avro schema dynamically from whatever graphql mutation structure sent by client, even if the payload is complex like array of nested objects, etc.

Does it have to be graphql -> POJO -> avro? current endpoint accept free form object and we parse as json object tree, so, we can handle any complex nested object. is there a way to do this with graphQL and output as avro?

Thanks


Load 7 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *