Comments (3)
Hi @sondh0127, you always can look to releases notes here and see if there any breaking changes, or you can just update without any change in your code
Also, you can watch release notes. to get an email when any new release released
from prisma-tools.
@AhmedElywa
Thank you for your answer but this isn't what I mean. I would like to do that with paljs/cli instead. Something like:
- npm install -g @paljs/cli
- Go to the folder containing the old generated app
pal c <the_old_foldername>
After that, I'll be able to see the diff of each file.
I ended up with the following step with the help of Vscode + Git
- git commit
<old-app>
npm install -g @paljs/cli
- generate new app with
pal c <new-app>
- drop all new file from
<new-app>
to<old-app>
folder => choosereplace for all files
- revert unwanted changed
Sometimes I think we also have to clean up
node_modules
yarn.lock
.
> rm -rf .next node_modules yarn.lock
> yarn
- Generate with new cli
> pal g
> yarn generate
> yarn dev
Hope this helps!
from prisma-tools.
we don't make many changes in the examples files, but if you need to know what we change in these examples, there is an easier way to do this look to the new commit into this folder and see what we change. and by clicking on History you will see the last commits in this folder
from prisma-tools.
Related Issues (20)
- sdlInputs on v5.0.0 onwards HOT 5
- Question: transform outputs from pal g for SDL first
- API EN LOCALHOST FUNCIONA BIEN PERO CUANDO LO SUBO A VERCEL ME DA ERROR DE SERVIDOR NO ME MUESTRA LOS DATOS DE MI BASE DE DATOS
- DeleteOneArgs where field should not be nullable HOT 1
- How to add to an existing project? HOT 1
- pal g only works if the prisma.schema file is saved as LF (linux default) HOT 1
- pal camel-case does not convert enums to camelCase HOT 1
- Support Prisma 5.0.0 version HOT 6
- `__typename` not returned in select HOT 2
- TypeError: Cannot read properties of undefined (reading 'includes')
- Error: pal config file is not found HOT 1
- PrismaSelect - `Record<string, unknown> ` instead of `any`
- [sdl generator] Error when model name is in lower case HOT 1
- Convert to Camel case breaks when tables start with same name
- problems using arguments in a subquery
- _count doesn't accept arguments
- Aggregate resolver return type is wrong
- Utils has some Typescript errors
- Test in utils fails on Windows
- VS Code settings should include PNPM as the package manager
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-tools.