I just ran into an interesting problem. I have a s...
# prisma-client
c
I just ran into an interesting problem. I have a schema which resembles this:
Copy code
type Frame{
  id: ID! @id
  primaryBoardSize: HolePattern
  supportedBoardSizes: [HolePattern] @scalarList(strategy: RELATION)
}
And I just noticed that I have no search methods for
supportedBoardSizes
in the generated client
FrameWhereInput
. Where as for
primaryBoardSize
I am offered the method
primaryBoardSize_in, primaryBoardSize_not_in, primaryBoardSize, primaryBoardSize_not
to search on. Does anyone know a workaround for this. I’d really like to be able to offer an ability to query where
Frame.supportedBoardSizes
includes [insert board size here]
j
Sounds like you will have more chances by reposting in #prisma1