How to set graphene schema to dgraph database

I have schema defined using graphene and upload the same to dgraph database. and use the same for queries and mutations.

Hi @dgandhi17

I am trying to understand your problem? I don’t know what exactly it is you want to achieve. Could you please clarify? Thank you

To be more clear. Can i use apolloclient to define graphql schema and set the same to dgraph database ?
instead of having predefined schema using dgraphql

Hi Darshan, I could not find any capability on apollo client for this, but this blog talks about generating schema from code. It might be useful to you. You would still need to use a curl command or equivalent code to post the schema to Dgraph. Hope this helps.