also anyone using `extend type` in their apollo se...
# orm-help
c
also anyone using
extend type
in their apollo server schema to extend prisma types? It doesn't seem to work within the
schema.graphql
as per this issue: https://github.com/prisma/graphql-import/issues/42 I am doing this hackity hack as workaround:
Copy code
const importedTypeDefs = importSchema(path.join(__dirname, '/schema.graphql'));
// stupidly type extensions can only go in here right now..
const typeDefs = gql`
      ${importedTypeDefs}
      extend type ExtendedType {
        extendedProp: String
      }
    `;