Open kiesel opened 11 months ago
Hi,
It's easy to add it but the annotations package doesn't use anything from the @aws-sdk/client-dynamodb
so that's why it doesn't have it as a peer dependency. Let me know if I need to fix this or if you managed to somehow solve this. Thanks!
I am using yarn
which complains about it with this message:
➤ YN0002: │ @nova-odm/annotations@npm:0.8.7 doesn't provide @aws-sdk/client-dynamodb (p1924d), requested by @nova-odm/auto-marshaller
Yarn (2+) warns about missing dependency links (see here some related information); since the annotation package depends on other packages that have a peer dependency on the client-dynamodb
package, but annotations
does not list it, it regards this as a amissing dependency. By including the peer dependency, you'd essentially handing the requirement outwards in the chain.
In this specific case, a problem would probably never really manifest, since usually you'll be not only depending on the annotations
package, but also on one of the dependencies as well. But it'd be nice to get rid of the warning :-)
Hi,
while attempting to include these libaries in a project with yarn2, the following error occurred:
Comparing the
annotations
package with the other ones, it seems the peer dependency to@aws-sdk/client-dynamodb
is missing.Best regards, Alex