How to use @begin/data locally?May 9, 2019 at 7:36pm (Edited 4 months ago)
May 9, 2019 at 7:51pm
When I try to locally data.set() I get a ResourceNotFoundException
DynamoDB docs suggest this is because the table doesn't exist
Weird! It should work locally but you do need to define the data table in your .arc file like this https://github.com/brianleroux/fix-228/blob/master/.arc#L12-L16
can you share a link to the problem source?
is 'data' here the table name? do I fill in scopeID and dataID ?
ok, tested a simple data.set() and it works fine on staging, but fails locally
is there some local setup I might have missed?
so it works in staging but fails locally
sorry, my fault. i failed to 'npx hydrate' after installing a new route. user error it is.
we need better docs. the local dev currently depends on the .arc file existing and containing that table defn.