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
I have a package that provides a ddb abstraction and uses dynamodb-toolbox v0.9.3.
The package exports the abstraction, but when I import it into my client repo (a next application), I get the error Error: Please provide a valid 'indexes' object, which is odd as, when I console log the indexes object, I get
Hey @jhunter-motorway,
sorry for the delayed response, missed the notification about this issue 🙏
It seems the indexes objects are missing type (LSI/GSI), which is supposed to be generated on ddb-toolbox level.
I can't seem to re-produce this but I'll continue to dig into this and let you know if I find anything.
Please let me know if this is no longer relevant 🙏
I have a package that provides a ddb abstraction and uses dynamodb-toolbox v0.9.3.
The package exports the abstraction, but when I import it into my client repo (a next application), I get the error
Error: Please provide a valid 'indexes' object
, which is odd as, when I console log the indexes object, I getwhich seems fine to me.
The abstraction looks like this:
And an entity looks like this:
And the table definition looks like this:
Any ideas why this might be?
The text was updated successfully, but these errors were encountered: