Git Product home page Git Product logo

Comments (4)

iiian avatar iiian commented on July 20, 2024 1

v1.4.1 released. Thanks a bunch for fixing this @ahto

from prisma-case-format.

iiian avatar iiian commented on July 20, 2024

Not clear what this error refers to, but it does not format the file.

@gajus , can you provide an example schema that minimally reproduces the issue? Meanwhile I'll check that the unit tests are all still passing, which I thought they were before I published the latest version. In any case, you should be able to roll back to v1.3.1. Sorry for the inconvenience.

from prisma-case-format.

ahto avatar ahto commented on July 20, 2024

i hit this too. i have a big db but this small piece still gives the same error.
if i remove the view_count it works after that.
my schema.prisma is generated with prisma db pull

generator client {
  provider        = "prisma-client-js"
}

datasource db {
  provider = "mysql"
  url      = env("DATABASE_URL")
}

model some_table {
  id                        Int       @id @default(autoincrement()) @db.MediumInt
  view_count                Int?      @default(0)
}

from prisma-case-format.

ahto avatar ahto commented on July 20, 2024

I made one fix suggestion. But feel free to reject if it was too simple fix. At least the test should help a bit.
#24

from prisma-case-format.

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.