This repository has been archived by the owner on Jun 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: fix serialization of enum args for graphql
- Loading branch information
Showing
7 changed files
with
97 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
use dagger_sdk::{ContainerWithExposedPortOpts, NetworkProtocol}; | ||
|
||
#[tokio::test] | ||
async fn test_issue_30_alt() -> eyre::Result<()> { | ||
let client = dagger_sdk::connect().await?; | ||
|
||
client | ||
.container() | ||
.from("denoland/deno:debian-1.30.3") | ||
.with_exposed_port_opts( | ||
53, | ||
ContainerWithExposedPortOpts { | ||
protocol: Some(NetworkProtocol::TCP), | ||
description: None, | ||
}, | ||
) | ||
.with_exposed_port_opts( | ||
53, | ||
ContainerWithExposedPortOpts { | ||
protocol: Some(NetworkProtocol::UDP), | ||
description: None, | ||
}, | ||
) | ||
.with_exec(vec!["echo", "hello"]) | ||
.exit_code() | ||
.await?; | ||
|
||
Ok(()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
mod iss_30; | ||
mod iss_33; |