How to Extend and Build Custom Resolvers with Strapi v4

Sure. Thanks for responding.

I have two tables: web_conference which is the parent and conference_users which is the relational child table.

I want to create an entry to add a new web_conference and a link to all conference_users.

I am doing this:

try {
        const newParentObject = await strapi.entityService.create('api::web-conference.web-conference',{
            data:{
                ownerId:userUid,
                sessionId:sessionId,
                title:title,
                date:date,
                startTime:startTime,
                endTime:endTime,
                publishedAt: publishedAt,
                conference_users:[{userId:0,userId:"eeeeee",sessionId:"333-333"}],
                inviteRequired:inviteOnly}
        });           
    }
catch (error) {
    console.log(error)    
}

but I keep getting the error: “Undefined attribute level operator userId”.

The schema.json for web_conference and conference_users are:

{
  "kind": "collectionType",
  "collectionName": "conference_users",
  "info": {
    "singularName": "conference-user",
    "pluralName": "conference-users",
    "displayName": "ConferenceUser",
    "description": ""
  },
  "options": {
    "draftAndPublish": true
  },
  "pluginOptions": {},
  "attributes": {
    "userId": {
      "type": "string"
    },
    "sessionId": {
      "type": "string",
      "required": true
    },
    "web_conference": {
      "type": "relation",
      "relation": "manyToOne",
      "target": "api::web-conference.web-conference",
      "inversedBy": "conference_users"
    }
  }
}
{
  "kind": "collectionType",
  "collectionName": "web_conferences",
  "info": {
    "singularName": "web-conference",
    "pluralName": "web-conferences",
    "displayName": "WebConference",
    "description": ""
  },
  "options": {
    "draftAndPublish": true
  },
  "pluginOptions": {},
  "attributes": {
    "sessionId": {
      "type": "string",
      "required": true,
      "unique": true
    },
    "title": {
      "type": "string",
      "required": true
    },
    "date": {
      "type": "string"
    },
    "startTime": {
      "type": "string"
    },
    "endTime": {
      "type": "string"
    },
    "inviteRequired": {
      "type": "boolean",
      "required": true,
      "default": false
    },
    "ownerId": {
      "type": "string"
    },
    "conference_users": {
      "type": "relation",
      "relation": "oneToMany",
      "target": "api::conference-user.conference-user",
      "mappedBy": "web_conference"
    }
  }
}

Thanks for any assistance.
Can you please help?