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
The adapter throws 'Must have one or two primary key attributes' because the primaryKeys in the collection.definition is counting the hash and range primary keys and also an id field like so:
So let's say we have a model definition like this:
`{
}`
The adapter throws 'Must have one or two primary key attributes' because the primaryKeys in the collection.definition is counting the hash and range primary keys and also an id field like so:
`
id: {
type: 'string',
primaryKey: true,
unique: true,
defaultsTo: [Function]
}
`
This happens to be true even with autoPK:false.
Suggestions?
The text was updated successfully, but these errors were encountered: