Comments (8)
@iiian
I Found it
this model makes ploblem
model sessions {
session_id String @id @localContainer.VarChar(128)
expires Int @localContainer.UnsignedInt
data String? @localContainer.Text
}
from prisma-case-format.
Hey @sacru2red . Looks like you're using the beta version of 2.1.0. You've got two options here, roll back to ~2.0.0 or ^1.0.0,
Orrrr if you're feeling really generous, you could describe your schema/issue/usage in greater detail because you've managed to find a bug I couldn't create during my testing.
from prisma-case-format.
Hey @sacru2red . Looks like you're using the beta version of 2.1.0. You've got two options here, roll back to ~2.0.0 or ^1.0.0,
Orrrr if you're feeling really generous, you could describe your schema/issue/usage in greater detail because you've managed to find a bug I couldn't create during my testing.
Thanks,
I try [email protected]. It seems to work
btw, I think [email protected] must have "latest" tag
[email protected] must have "beta" tag in npm
from prisma-case-format.
Got it, yeah that could save me some problems. So could you describing your set up 😉
from prisma-case-format.
so, It has been confirmed that model names ending in "s" are problematic.
from prisma-case-format.
Thanks for the update @sacru2red, your investigation will be helpful to me. I'll try and dig into this at my earliest availability.
from prisma-case-format.
@sacru2red could you please and thanks share how you're invoking prisma-case-format
? I copied your schema in as a unit test and it seems to run just fine.
Thanks!
from prisma-case-format.
hey. I test on 2.1.0-beta.0
check https://github.com/sacru2red/prisma-case-format-issue
I think this library must check npm tags.
why "2.1.0" doesnt have "latest" tag.
2.0.2 has "latest" tag
It looks strange.
check it
https://docs.npmjs.com/cli/v10/commands/npm-dist-tag
but I recommand use release-it cli
Thanks
Hey @sacru2red . Looks like you're using the beta version of 2.1.0. You've got two options here, roll back to ~2.0.0 or ^1.0.0,
Orrrr if you're feeling really generous, you could describe your schema/issue/usage in greater detail because you've managed to find a bug I couldn't create during my testing.Thanks, I try [email protected]. It seems to work
btw, I think [email protected] must have "latest" tag [email protected] must have "beta" tag in npm
from prisma-case-format.
Related Issues (20)
- Some `@@index` cannot be converted HOT 4
- `Unsupported` fields are parsed incorrectly HOT 5
- Enums are not mapped HOT 5
- Add a LICENSE file HOT 4
- Ignore Command & Excluding Enums HOT 4
- Any way to keep enums singular when table names are plural? HOT 3
- Broken output for pascal case HOT 4
- New version of package have old content HOT 1
- No @@map created for enums HOT 5
- Possibility to skip some models HOT 23
- Retain @map annotations for fields with distinct DB column names HOT 6
- Add option to ignore pluralize option per field HOT 8
- [Feature request] Obtain default schema location from package.json
- [Feature request] Enable configuration via package.json HOT 1
- Allow programmatic usage of library (example: vscode formatter extension) HOT 2
- Run Prisma's `formatSchema` before AND after the case formatting to automatically add missing relations HOT 2
- MongoDB ID field issue HOT 4
- Invalid `--uses-next-auth` cli option HOT 1
- Config file does not load before `tryGetFileContents` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prisma-case-format.