Custom validation and abort main endpoint execution
Hello,
Is there a build in feature to create custom validators?
I need to validate a field is unique and I don't see this in the list of existing validators.
I created a middleware to run on beforeCreate and I'm able to run my logic there and return the appropriate response....
No relations in findOneById
Hi folks!
I'm not sure if it's a bug or if I miss something. I'm trying to get related items to delete them before deleting the main one. Here is my yaml config:
```name: emka
entities:...
"with" and opposite relationship
Hi guys!
Loving Manifest at the moment. After reading the documentation, it's clear that all relationships are bi-directional. However, I'm having trouble querying them.
This is my example: ...
Custom routes
Does anyone know of quickstarts, and or code examples showing the use of custom routes and stuff such as adding middleware etc? Thanks..
Prefix environment variables
Hi, I was thinking about setting a prefix for the environment variables used by Manifest.
Is there such a feature available now? If not, I think I can work on it, but the question is whether it would be accepted and needed?
I was thinking about using this feature in applications that keep all the code within a single structure and setting a variable like
PORT
could affect its functionality. After the change, we would have two variables - PORT
for the application server and e.g. MANIFEST_PORT
for Manifest....Is there a plan to implement cascade deletions?
I noticed when I went to delete an object that I got a warning saying to delete an object, it warned me to delete related data first. Is there any plan to have an optional cascading deletion?
Getting Users/user/Data: No such file or directory
Hello! I found the Manifest and it looks great to me, I would like to try it. I had two problems during installation:
First, it stuck on
⠴ Build the database...
stage. I have found here on discord a discussion about this problem, and as it was suggested there I have tried to clone frontend-examples
repo.
Then I have faced next problem, when I am running yarn manifest
I am getting next output:...Deploy to CloudFlare Pages and using D1 & R2
Hi, I just fall in love with Manifest at first sight, what a cool idea to start define backend with yml config.
Is there anyway I can deploy this to CloudFlare and use D1 (Sqlite) as database? Or do we have any plugins/integration api that allow adding support for this?...
How to make a seeder for a entity?
How to make a seeder for a entity? I don' want to to add it manually in the admin. Also can I manipulate the data as a file, at least locally?
Scope limitation
It would be great if you could list down the limitations and workarounds.
I can volunteer to create an e-commerce and a Multi tenant app if its possible....
Is there a cleaner/more appropriate way to auto-create this entity relationship in the Middleware?
Hello, my current middleware to additionally create a Profile entitiy for the newly registered user looks like this:
```js
module.exports = async (req, res, manifest) => {
const user = await manifest.from('users').where('name = ' + req.body.name).find();...
API Policies - Custom Policy
It's less of a question, but more of a suggestion I would like to ask here, maybe there is also a solution for it already. If we will get a working "default" option like this example:
```yml
entities:
User:...
Postgres envs
Hey all,
Anyone got postgres working?
I have tried with all variations of our standard connection strings to get a conn to one of our postgres dbs to no avail.
...
How to Edit Admin Landing page?
Hey guys, I installed and ran the server. It is working fine but I dont want the admin panel to have a default look. How do i change it?
Does Manifest supports server less deployment ?
Hi guys, awesome work.
I have a Astro Site for a local business and they can benefit from a light weight CMS to configure their website content. Just wondering if Manifest supports hosting together with my Astro app in a serverless manner
I would imagine there is a need for a external cloud storage to host assets for my use cases...
Exploring Manifest's Potential: Typebot API Use Case & Feature Suggestions
First of all, thank you very much for Manifest. I believe it has great potential as an application, making it much easier to develop new projects.
I have been testing the platform and wanted to explore a use case with Typebot, using it as an API to integrate it with a chatbot. My goal is simply to assess its potential in this context.
I have some recommendations that could enhance the experience:...