System Information
- Strapi Version: 4.12.5
- Operating System: Ubuntu
- Database: sqlite
- Node Version: v16
- NPM Version:
- Yarn Version:
Hello everyone, i’m a strapi enthusiast since v3 and it always helped me with basic content stuff. Now I’m on a project more complex and starting to discover the boundaries of the tool.
My idea: create a small social network where users interacts with events.My problem: although attendance type is created, i don’t know how to configure a relation like User => Attendance => Events.
This how I configured now but I as said, can’t manage working correctly. Any suggestions on how to do it?
"events": {
"type": "relation",
"relation": "oneToMany",
"target": "api::event.event",
"mappedBy": "attendees"
},
"uid": {
"type": "uid",
"targetField": "label"
},
"social_users": {
"type": "relation",
"relation": "manyToMany",
"target": "plugin::users-permissions.user",
"mappedBy": "attendings"
}