Comments (4)
This is a big change and needs time.
I think maybe you can help when I start on this.
from prisma-tools.
Sure :)
from prisma-tools.
Since adminSettings.json is saved as a file, CMS cannot be separated unless we use a SSR framework like nextjs. Also, it is impossible to scale up server instance. But how about rethinking it as the role of a static generator to make setting easier?
If we can determine permissions or settings(label, upload, editor, etc..) only at the coding stage as a js file, we can apply the existing i18n libraries and many things will be solved.
Other headless cms tools have a similar orm-like approach that describes the appearance of the db schema and the front view at once, but I like the pal.js method where everything is automatically created with prisma as idl. So, how about keeping this concept, but changing only adminSettings.json to the js file and removing the settings at the user level. What do you think? @AhmedElywa
from prisma-tools.
resolved in last version
from prisma-tools.
Related Issues (20)
- 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
- Get object first -> Ignore nested object
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.