Unclear deployment error when importing with Auto-deployment

I’m configuring dev/staging/prod environments for the first time.
What I’ve done:

  1. prod is ready, it is my Atlas App A
  2. I export prod to my github, branch “main”
  3. I branch out to a new branch “dev”
  4. I created Atlas App B
  5. I connect Atlas App B to my github, branch “dev”
  6. I fix the app id’s in my github for Atlas App B meta files
  7. I enable Auto-deployment for Atlas App B

The error I get is the following:

: must provide the name of a valid generated GraphQL Type when using a generate resolver type

I have no idea whatsoever what it means.

I’ve found that one of my custom resolvers defines an input type, which is reused by some other custom resolver.

Apparently because of the import sequence, the other custom resolver is attempted to be imported first, before the type has been defined.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.