GithubHelp home page GithubHelp logo

Comments (4)

medz avatar medz commented on September 22, 2024 2

https://github.com/medz/prisma-dart/releases/tag/4.0.0-beta.3

Thanks for the feedback, πŸŽ‰It's now fixed in 4.0.0-beta.3 version!

from prisma-dart.

medz avatar medz commented on September 22, 2024 1

In PGSQL, storing enum arrays is a legal value. While this use case is rare, it is happening now. I'm glad you brought it to my attention so I could fix it.

from prisma-dart.

NeroSong avatar NeroSong commented on September 22, 2024

Hi, according to prisma's doc, I believe your sports in Schema is a Relation.

model Club {
  id        String       @id @db.Uuid
  name      String
  city      String
  sports    Sport[]     // this line
}

Maybe it would be better to put it in another model and connect them just like doc.

from prisma-dart.

medz avatar medz commented on September 22, 2024

I think this is an error of the generator. Maybe I didn't consider the situation of many enum fields when setting up enim. I'll check it out, but I'm in the hospital now, so it may take me six or seven hours to repair it.

from prisma-dart.

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.