Skip to content

chore(deps): Bump async_graphql, async_graphql_warp from 5.0.10 to 6.0.0 #18122

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

Merged
merged 1 commit into from
Aug 2, 2023
Merged
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
96 changes: 85 additions & 11 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ smpl_jwt = { version = "0.7.1", default-features = false, optional = true }
lapin = { version = "2.3.1", default-features = false, features = ["native-tls"], optional = true }

# API
async-graphql = { version = "5.0.10", default-features = false, optional = true, features = ["chrono"] }
async-graphql-warp = { version = "5.0.10", default-features = false, optional = true }
async-graphql = { version = "6.0.0", default-features = false, optional = true, features = ["chrono", "playground"] }
async-graphql-warp = { version = "6.0.0", default-features = false, optional = true }
itertools = { version = "0.11.0", default-features = false, optional = true }

# API client
Expand Down
4 changes: 2 additions & 2 deletions src/api/schema/components/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ use crate::{

#[derive(Debug, Clone, Interface)]
#[graphql(
field(name = "component_id", type = "String"),
field(name = "component_type", type = "String")
field(name = "component_id", ty = "String"),
field(name = "component_type", ty = "String")
)]
pub enum Component {
Source(source::Source),
Expand Down
2 changes: 1 addition & 1 deletion src/api/schema/metrics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub use uptime::Uptime;
use crate::config::ComponentKey;

#[derive(Interface)]
#[graphql(field(name = "timestamp", type = "Option<DateTime<Utc>>"))]
#[graphql(field(name = "timestamp", ty = "Option<DateTime<Utc>>"))]
pub enum MetricType {
Uptime(Uptime),
}
Expand Down
6 changes: 3 additions & 3 deletions src/api/schema/metrics/sink/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ use crate::event::Metric;

#[derive(Debug, Clone, Interface)]
#[graphql(
field(name = "received_events_total", type = "Option<ReceivedEventsTotal>"),
field(name = "sent_bytes_total", type = "Option<SentBytesTotal>"),
field(name = "sent_events_total", type = "Option<SentEventsTotal>")
field(name = "received_events_total", ty = "Option<ReceivedEventsTotal>"),
field(name = "sent_bytes_total", ty = "Option<SentBytesTotal>"),
field(name = "sent_events_total", ty = "Option<SentEventsTotal>")
)]
pub enum SinkMetrics {
GenericSinkMetrics(generic::GenericSinkMetrics),
Expand Down
6 changes: 3 additions & 3 deletions src/api/schema/metrics/source/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ use crate::event::Metric;

#[derive(Debug, Clone, Interface)]
#[graphql(
field(name = "received_bytes_total", type = "Option<ReceivedBytesTotal>"),
field(name = "received_events_total", type = "Option<ReceivedEventsTotal>"),
field(name = "sent_events_total", type = "Option<SentEventsTotal>")
field(name = "received_bytes_total", ty = "Option<ReceivedBytesTotal>"),
field(name = "received_events_total", ty = "Option<ReceivedEventsTotal>"),
field(name = "sent_events_total", ty = "Option<SentEventsTotal>")
)]
pub enum SourceMetrics {
GenericSourceMetrics(generic::GenericSourceMetrics),
Expand Down
4 changes: 2 additions & 2 deletions src/api/schema/metrics/transform/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use crate::event::Metric;

#[derive(Debug, Clone, Interface)]
#[graphql(
field(name = "received_events_total", type = "Option<ReceivedEventsTotal>"),
field(name = "sent_events_total", type = "Option<SentEventsTotal>")
field(name = "received_events_total", ty = "Option<ReceivedEventsTotal>"),
field(name = "sent_events_total", ty = "Option<SentEventsTotal>")
)]
pub enum TransformMetrics {
GenericTransformMetrics(generic::GenericTransformMetrics),
Expand Down