Skip to content

Commit 694ef2c

Browse files
authored
Fix schema_export (#2387)
* Fix schema_export. * Add schema_export to CI.
1 parent bc33a31 commit 694ef2c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/rust.yml

+3
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,6 @@ jobs:
223223
if: '!cancelled()'
224224
run: |
225225
ln -sf toolchains/build/rust-toolchain.toml
226+
- name: Check linera-service GraphQL schema
227+
run: |
228+
diff <(cargo run --locked --bin linera-schema-export) linera-service-graphql-client/gql/service_schema.graphql

linera-service/src/schema_export.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ async fn main() -> std::io::Result<()> {
164164
let store_config = MemoryStoreConfig::new(TEST_MEMORY_MAX_STREAM_QUERIES);
165165
let namespace = "schema_export";
166166
let root_key = &[];
167-
let storage = MemoryStorage::new(store_config, namespace, root_key, None)
167+
let storage = MemoryStorage::initialize(store_config, namespace, root_key, None)
168168
.await
169169
.expect("storage");
170170
let config = ChainListenerConfig::default();

0 commit comments

Comments
 (0)