Showing 26 of 40 total issues
Avoid too many return
statements within this function. Open
Open
return { ...acc, [parts[0]]: { id: params.filter[key] } };
Avoid too many return
statements within this function. Open
Open
return {
...acc,
where: {
id: params.data[fieldName],
},
Avoid too many return
statements within this function. Open
Open
return acc;
Avoid too many return
statements within this function. Open
Open
return {
...acc,
[`${field.name}.id`]: linkedResourceData
? record[field.name].id
: undefined,
Avoid too many return
statements within this function. Open
Open
return {
...acc,
data: {
...acc.data,
[fieldName]: { [PRISMA_CONNECT]: { ...fieldsToConnect } },
Avoid too many return
statements within this function. Open
Open
return { ...acc, [field.name]: record[field.name] };