Skip to content

Commit

Permalink
default tags
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay111meher committed Nov 20, 2024
1 parent 471699b commit 936013b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions matching_engine/src/generator_lib/generator_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,11 @@ pub struct GeneratorMeta {
version: Option<String>,

/// Categories that classify the generator or application.
#[serde(default)]
categories: Vec<String>,

/// Tags for better searchability and organization.
#[serde(default)]
tags: Vec<String>,

/// License information, e.g., MIT, GPL.
Expand Down
4 changes: 3 additions & 1 deletion matching_engine/src/market_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ pub struct MarketSetupData {
license: Option<String>,

/// Categories that classify the zkApp.
categories: Vec<String>,
#[serde(default)]
categories: Option<Vec<String>>,

/// Tags for better searchability and organization.
#[serde(default)]
tags: Vec<String>,

/// Contact email for support or inquiries.
Expand Down

0 comments on commit 936013b

Please sign in to comment.