15 Commits

Author SHA1 Message Date
3a9abb97c2 Add thiserror instead of exposing eyre anonymous errors
The change here is to make it easier for the consumer to debug the api.
Such that they can `match` on individual errors instead of having to
parse text.

eyre is convenient, but mostly from a consumers perspective
2023-04-30 13:12:23 +02:00
11d20935c6
feat: extract client (#48)
This extracts the client (strategy pattern), this is so that it is will be possible to test the actual querier, without hitting / requiring the dagger-engine running.
2023-03-19 00:01:24 +00:00
79d931e908 feat: with loggers 2023-03-14 23:21:14 +01:00
8fd6bb983e
fix: serialization of enum args for graphql (#34) 2023-03-14 13:56:49 +00:00
9be6f435d9 feat(sdk,core): Use async runtime instead of blocking.
Default to using async runtime instead of blocking. I.e.

```rust
fn main() -> eyre::Result<()> {
  // ...

  client.container().from("rust").publish("somewhere")?;

  // ...
}

// to

async fn main() -> eyre::Result<()> {
  // ...

  client.container().from("rust").publish("somewhere").await?;

  // ...
}
```
2023-02-19 21:47:40 +01:00
5d66736990 feat(core,sdk): remove unnecessary option returns 2023-02-19 15:29:03 +01:00
cb9a4dd84f
add test-the-application 2023-02-17 15:34:18 +01:00
3b5b59ba1c
unpack response 2023-02-11 14:02:20 +01:00
7a008be59e
tested full flow initially 2023-02-05 23:44:06 +01:00
ec0d0b22e6
move code to dagger-core 2023-02-05 22:26:58 +01:00
9f0021b708
with selection impl default 2023-02-05 21:50:34 +01:00
2b49f9c190
fix warnings 2023-02-05 21:49:01 +01:00
03366b7c5b
fix test 2023-02-05 19:26:25 +01:00
c5dfcebaad
test marshaller 2023-02-05 19:25:18 +01:00
c4ec6f0c97
test marshaller 2023-02-05 19:17:46 +01:00