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 comparison strictness is an artifact of the 1:1 model:table mapping.
Now multiple Models backed by the same table may have their own GSIs and LSIs. The correct check would assert that the expected Indexes are a subset of available Indexes, and do the usual validation on each of the expected Indexes.
For the new Stream work in #17, it's fine if the table has a stream that the model didn't expect. Again, another Model may use the stream but this one does not. This should only fail if the Model expects a Stream that doesn't exist, or the StreamViewType doesn't match.
The text was updated successfully, but these errors were encountered:
The comparison strictness is an artifact of the 1:1 model:table mapping.
Now multiple Models backed by the same table may have their own GSIs and LSIs. The correct check would assert that the expected Indexes are a subset of available Indexes, and do the usual validation on each of the expected Indexes.
For the new Stream work in #17, it's fine if the table has a stream that the model didn't expect. Again, another Model may use the stream but this one does not. This should only fail if the Model expects a Stream that doesn't exist, or the StreamViewType doesn't match.
The text was updated successfully, but these errors were encountered: