andyrichardson / andyrichardson/subscriptionless

Add storage adapters

Đang mở
#7 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
TypeScript
Star
93
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## About

It would be nice to add support multiple storage mechanisms.

Example

```js
import { createInstance } from 'subscriptionless';
import { DynamoDBPersistence } from 'subscriptionless/dynamodb';

const instance = createInstance({
schema,
storage: DynamoDBPersistence({
dynamodb,
tableNames: {
connections: 'my_connections'
}
})
});
```

## Notes

Whether this is of any value still remains to be seen.

**Drop a comment** if you have a use case where something other than DynamoDB would be of use.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.