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 am trying to use this package, but I have noticed that the README seems to be outdated and does not match the current implementation.
For example, the README suggests using the following configuration for createConnection:
import createConnection from "typeorm-aurora-data-api-driver";
const connection = await createConnection({
type: 'aurora-postgres',
database: 'test-db',
secretArn: 'arn:aws:secretsmanager:eu-west-1:537011205135:secret:xxxxxx/xxxxxx/xxxxxx',
resourceArn: 'arn:aws:rds:eu-west-1:xxxxx:xxxxxx:xxxxxx',
region: 'eu-west-1',
serviceConfigOptions: {
// additional options to pass to the aws-sdk RDS client
},
formatOptions: {
// additional format options to pass to the Data API client
}
});
However, this configuration does not seem to work with the current version of the package. Additionally, the README mentions using connection.getRepository(Post) , but the connection object does not have a getRepository method.
Could you please update the README with the correct usage instructions for the current version of the package?
The text was updated successfully, but these errors were encountered:
I am trying to use this package, but I have noticed that the README seems to be outdated and does not match the current implementation.
For example, the README suggests using the following configuration for createConnection:
However, this configuration does not seem to work with the current version of the package. Additionally, the README mentions using
connection.getRepository(Post)
, but the connection object does not have agetRepository
method.Could you please update the README with the correct usage instructions for the current version of the package?
The text was updated successfully, but these errors were encountered: