You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the openapi plugin (REST variant) with a schema using @@id, the attributes that make up the compound id are not added to the attribute list for the model.
Given the model
model DashboardTiles extends Base {
clientId Int
tileType Int
visible Boolean
Client Client @relation(fields: [clientId], references: [id])@@id([clientId, tileType])@@allow("all", check(Client))
}
The expected list of attributes should be
clientId: number
tileType: number
visible: boolean
When using the openapi plugin (REST variant) with a schema using
@@id
, the attributes that make up the compound id are not added to the attribute list for the model.Given the model
The expected list of attributes should be
Currently the list of attributes is only:
visible: boolean
Discord thread
The text was updated successfully, but these errors were encountered: