Unclear deployment error when importing with Auto-deployment

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.