GNS-Science/nshm-toshi-api

FIX: AggregateInversionSolution is not a possible type for "FileUnion"

Closed this issue · 1 comments

Runzi return new error:

gql.transport.exceptions.TransportQueryError: {'message': 'Runtime Object type "AggregateInversionSolution" is not a possible type for "FileUnion".', 'locations': [{'line': 7, 'column': 9}]}

with query and ID QXV0b21hdGlvblRhc2s6MTAzMDI2

fragment task_files on FileRelationConnection {
  total_count
  edges {
    node {
      ... on FileRelation {
        role
        file {
          ... on Node {
            id
          }
          ... on FileInterface {
            file_name
            file_size
            meta {k v}
          }
        }
      }
    }
  }
}

query ($id:ID!) {
    node(id: $id) {
    __typename
    ... on Node {
      id
    }
    ... on AutomationTask {
      files {
        ...task_files
      }
    }
    ... on RuptureGenerationTask {
      files {
        ...task_files
      }
    }
  }
}

@chrisdicaprio actually this was fixed already - it showed up in TEST. But the changes had not been deployed to PROD yet!