diff --git a/.github/workflows/schema.yml b/.github/workflows/schema.yml index 0df6f23..45007eb 100644 --- a/.github/workflows/schema.yml +++ b/.github/workflows/schema.yml @@ -39,13 +39,13 @@ jobs: command: run args: > schema - --path processed_data.graphql + --path crystal-snapshots.graphql - name: Upload Schema Artifact uses: actions/upload-artifact@v4.3.1 with: - name: processed_data.graphql - path: processed_data.graphql + name: crystal-snapshots.graphql + path: crystal-snapshots.graphql publish: # Deduplicate jobs from pull requests and branch pushes within the same repo. diff --git a/crystal_snapshots/src/graphql/entities.rs b/crystal_snapshots/src/graphql/entities.rs index a3d2a46..6ac2bfd 100644 --- a/crystal_snapshots/src/graphql/entities.rs +++ b/crystal_snapshots/src/graphql/entities.rs @@ -2,7 +2,7 @@ use async_graphql::SimpleObject; /// Combines autoproc integration, autoproc program, autoproc and autoproc scaling #[derive(Debug, Clone, SimpleObject)] -#[graphql(name = "DataCollection", unresolvable = "dataCollectionId", complex)] +#[graphql(name = "DataCollection", complex)] pub struct DataCollection { /// An opaque unique identifier for data collection pub id: u32, diff --git a/crystal_snapshots/src/graphql/mod.rs b/crystal_snapshots/src/graphql/mod.rs index 6a35d08..4dee884 100644 --- a/crystal_snapshots/src/graphql/mod.rs +++ b/crystal_snapshots/src/graphql/mod.rs @@ -134,8 +134,4 @@ impl Query { async fn router_data_collection(&self, id: u32) -> DataCollection { DataCollection { id } } - - async fn test(&self, id: u32) -> DataCollection { - DataCollection { id } - } }