Comments (7)
@shellscape, if you take a look at https://github.com/iiian/prisma-case-format/pull/20/files#diff-390b3178f6c849ab73dd0194ed9c880eb7073d0f00ea0f872cd0f3c2af6513f8R592, does this jest snapshot match your expectations for the output based on the example schema you provided?
from prisma-case-format.
Just gave it a try and it looks beautiful. Thanks for getting that in.
from prisma-case-format.
Hey @shellscape. IIRC views
are a relatively new feature in Prisma, so this tool doesn't support them yet. It looks like there are mounting feature requests so I'm trying to take care of them this weekend. Will keep you posted.
from prisma-case-format.
Thanks for the quick reply. If you don't have the opportunity I'll probably be able to get add that capability this next week.
from prisma-case-format.
Yeah that looks about right to me.
from prisma-case-format.
I've released v1.4.0-beta.0
https://www.npmjs.com/package/prisma-case-format/v/1.4.0-beta.0?activeTab=readme. Please give it a shot and let me know how it works out for you!
from prisma-case-format.
Much appreciated. Will do my best to try it tonight
from prisma-case-format.
Related Issues (20)
- 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
- Q. How to use this tool ? HOT 8
- 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
- Camel case not working as expected for fields with numbers
- Add a prefix to enum `@@map`
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.