Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dynamodb): use the new inflight interface modifier #197

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dynamodb/dynamodb-client.w
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bring "./dynamodb-types.w" as dynamodb_types;

interface DocumentClient {
inflight interface DocumentClient {
inflight batchGet(input: Json): Json;
inflight batchWrite(input: Json): Json;
inflight delete(input: Json): Json;
Expand Down
2 changes: 1 addition & 1 deletion dynamodb/dynamodb-types.w
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub struct Connection {
clientConfig: ClientConfig?;
}

pub interface IClient {
pub inflight interface IClient {
inflight delete(options: DeleteOptions): DeleteOutput;
inflight get(options: GetOptions): GetOutput;
inflight put(options: PutOptions): PutOutput;
Expand Down
2 changes: 1 addition & 1 deletion dynamodb/dynamodb.sim.w
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bring cloud;
bring "./dynamodb-types.w" as dynamodb_types;
bring "./dynamodb-client.w" as dynamodb_client;

interface Client {
inflight interface Client {
inflight createTable(input: Json): Json;
inflight deleteTable(input: Json): Json;
inflight updateTimeToLive(input: Json): Json;
Expand Down
4 changes: 2 additions & 2 deletions dynamodb/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dynamodb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@winglibs/dynamodb",
"version": "0.1.5",
"version": "0.1.6",
"description": "DynamoDB library for Wing",
"author": {
"name": "Cristian Pallarés",
Expand Down
Loading