not being able to `{ delete: true }` through an op...
# orm-help
i
not being able to
{ delete: true }
through an optional back-link within an
update
, because it's only valid if it exists. should this be an issue?
h
Can you share the datamodel? Maybe open an issue and we will see
i
is the simplest scenario of this working? i've gone around it temporarily in my use case. might come share it later.
using mongo
h
Is this a Prisma 1 issue?
i
yeah
latest 1 i believe
h
Ok, if I think we are going to deal with this in Prisma 2 if this is small, otherwise feel free to report it in the repository. We are continuing to do bug fixes in Prisma 1.
i
ok, thanks
FYI
Copy code
type SearchMusicbrainz {
  id: ID! @id
  mbidRecording: String! @unique

  song: Song! @relation(link: INLINE)
}

type Song {
  id: ID! @id
  ...
  searchMusicbrainz: SearchMusicbrainz
}