Git Product home page Git Product logo

Comments (8)

MichalLytek avatar MichalLytek commented on June 3, 2024 1

skipLibCheck enabled in 9c87cdb 🔒

from typegraphql-prisma.

dahaupt avatar dahaupt commented on June 3, 2024

Possibly related to #382

from typegraphql-prisma.

MichalLytek avatar MichalLytek commented on June 3, 2024

Can you play with skipLibCheck: true, in src/generator/generate-code.ts#L55?

from typegraphql-prisma.

dahaupt avatar dahaupt commented on June 3, 2024

@MichalLytek Thanks for your fast reply. The issue is fixed when I add skipLibCheck: true to the baseCompilerOptions object. Can I set this also in my schema.prisma as a temporary workaround?

from typegraphql-prisma.

MichalLytek avatar MichalLytek commented on June 3, 2024

I don't think so. We need to add this line in the generator to fix that in release.

from typegraphql-prisma.

dahaupt avatar dahaupt commented on June 3, 2024

Could this also be related to microsoft/TypeScript#54542?

Edit: Referenced wrong issue in previous comment!

from typegraphql-prisma.

dahaupt avatar dahaupt commented on June 3, 2024

@MichalLytek For now, I am successfully using a patch with patch-package as a workaround.

from typegraphql-prisma.

robertt avatar robertt commented on June 3, 2024

Is there any reason why skipLibCheck is not enabled by default? Adding it takes our gen times on an M1 Pro macbook from 90s -> 30s (Prisma 5.5.) In GitHub actions the runner runs out of memory.

@MichalLytek on a similar note, we (https://github.com/withprimer) are interested in sponsoring work to speed up gen times here - lmk if interested.

from typegraphql-prisma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.