Skip to content

Commit

Permalink
Code Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvigneshwars committed Apr 24, 2024
1 parent 7b415f9 commit 187c137
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
command: run
args: >
schema
--path processed_data.graphql
--path crystal-snapshots.graphql
- name: Upload Schema Artifact
uses: actions/[email protected]
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.
Expand Down
2 changes: 1 addition & 1 deletion crystal_snapshots/src/graphql/entities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 0 additions & 4 deletions crystal_snapshots/src/graphql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
}

0 comments on commit 187c137

Please sign in to comment.