Skip to content

Commit 29064cf

Browse files
committed
Upgrade async-graphql to v6
1 parent 1fdbb2b commit 29064cf

4 files changed

Lines changed: 100 additions & 34 deletions

File tree

Cargo.lock

Lines changed: 73 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ members = [
4848
Inflector = "*"
4949
askama = {version = "0.12.1", features = ["with-axum"]}
5050
askama_axum = "0.3.0"
51-
async-graphql = {version = "~5.0.10", features = ["tracing", "dataloader", "chrono"]}
52-
async-graphql-axum = "~5.0.10"
53-
async-graphql-value = {version = "~5.0.10"}
51+
async-graphql = {version = "~6.0.7", features = ["tracing", "dataloader", "chrono"]}
52+
async-graphql-axum = "~6.0.7"
53+
async-graphql-value = {version = "~6.0.7"}
5454
async-trait = "*"
5555
aws-config = "0.56.1"
5656
aws-sdk-sesv2 = "0.31.1"

crates/intercode_graphql_core/src/pagination_implementation.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ where
109109
tags: vec![],
110110
override_from: None,
111111
compute_complexity: None,
112+
directive_invocations: vec![],
112113
},
113114
);
114115

@@ -130,6 +131,7 @@ where
130131
tags: vec![],
131132
override_from: None,
132133
compute_complexity: None,
134+
directive_invocations: vec![],
133135
},
134136
);
135137

@@ -151,6 +153,7 @@ where
151153
tags: vec![],
152154
override_from: None,
153155
compute_complexity: None,
156+
directive_invocations: vec![],
154157
},
155158
);
156159

@@ -172,6 +175,7 @@ where
172175
tags: vec![],
173176
override_from: None,
174177
compute_complexity: None,
178+
directive_invocations: vec![],
175179
},
176180
);
177181

@@ -193,6 +197,7 @@ where
193197
tags: vec![],
194198
override_from: None,
195199
compute_complexity: None,
200+
directive_invocations: vec![],
196201
},
197202
);
198203

@@ -204,11 +209,14 @@ where
204209
extends: false,
205210
shareable: true,
206211
inaccessible: false,
212+
resolvable: true,
207213
tags: vec![],
208214
keys: None,
209215
visible: None,
210216
is_subscription: false,
211217
rust_typename: Some(std::any::type_name::<Self>()),
218+
directive_invocations: vec![],
219+
interface_object: false,
212220
}
213221
})
214222
}

schema.graphql

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,6 @@ interface CmsParent {
141141
rootPage: Page!
142142
typeaheadSearchCmsContent(name: String): [CmsContent!]!
143143
pre_schedule_content_html: String
144-
"""
145-
Given a Liquid text string and a notification event, renders the Liquid to HTML using the
146-
current domain's CMS context as if it were the content for that notification type.
147-
"""
148-
preview_notifier_liquid(eventKey: String!, content: String!): String!
149144
}
150145

151146
type CmsPartial {
@@ -191,11 +186,6 @@ type Convention {
191186
rootPage: Page!
192187
typeaheadSearchCmsContent(name: String): [CmsContent!]!
193188
pre_schedule_content_html: String
194-
"""
195-
Given a Liquid text string and a notification event, renders the Liquid to HTML using the
196-
current domain's CMS context as if it were the content for that notification type.
197-
"""
198-
preview_notifier_liquid(eventKey: String!, content: String!): String!
199189
name: String
200190
canceled: Boolean!
201191
clickwrap_agreement: String
@@ -221,6 +211,16 @@ type Convention {
221211
timezone_name: String
222212
accepting_proposals: Boolean!
223213
rooms: [Room!]!
214+
"""
215+
Given a Liquid text string and a notification event, renders the Liquid to HTML using the
216+
current domain's CMS context as if it were the content for that notification type.
217+
"""
218+
preview_notifier_liquid(
219+
"""
220+
The key of the notification event to use for generating the preview.
221+
"""
222+
eventKey: String!, content: String!
223+
): String!
224224
bio_eligible_user_con_profiles: [UserConProfile!]!
225225
catch_all_staff_position: StaffPosition
226226
cms_content_groups: [CmsContentGroup!]!
@@ -239,7 +239,12 @@ type Convention {
239239
Finds an event proposal by ID in this convention. If there is no event proposal with that ID
240240
in this convention, errors out.
241241
"""
242-
event_proposal(id: ID!): EventProposal!
242+
event_proposal(
243+
"""
244+
The ID of the event proposal to find.
245+
"""
246+
id: ID!
247+
): EventProposal!
243248
event_proposals_paginated(page: Int, per_page: Int, filters: EventProposalFiltersInput, sort: [SortInput!]): EventProposalsPagination!
244249
form(id: ID!): Form!
245250
forms: [Form!]!

0 commit comments

Comments
 (0)