mnfst / manifest

A Whole Backend That Fits Into 1 YAML file. ⭐ to support the project !
https://manifest.build
MIT License
875 stars 51 forks source link

🔗 Many-to-many relationships #185

Closed brunobuddy closed 1 month ago

brunobuddy commented 2 months ago

image

Description

This PR adds many-to-many relationships to Manifest.

It also clarifies one-to-many relationships giving it a proper specification and development as the POC implementation was a bit hazardous.

Related Issues

How can it be tested?

Impacted packages

Check the packages that require a new publication or release:

Check list before submitting

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
manifest-schema ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2024 2:56pm
SebConejo commented 2 months ago

@brunobuddy

I kept your default backend.yml. Making tests from the admin panel, I can't udpate a,y cat. It looks like we can't update an entity which is related to another one using the belongsToMany relation.

When try to edit the entity(so the cat here), the serving crash. Here are the error: Capture d’écran 2024-09-25 à 11 56 55 Capture d’écran 2024-09-25 à 11 56 45 Capture d’écran 2024-09-25 à 11 57 47