What's the best way to migrate from another graphql (mongodb) database?

I’m doing a proof-of-concept to migrate from an existing MongoDB database behind an Apollo graphql server/client architecture. I’m building a migration script in Node/Typescript using the Apollo graphql client to connect to the legacy system, run queries and mutate up to slash.dgraph.io.

Let’s say I have two dependent types (I’ll abbreviate for illustration):

type Member {

Closed because dupe of Best way to migrate from a graphql database running on top of MongoDB? - #2 by chewxy