Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: hints parsing #1

Merged
merged 10 commits into from
Jun 30, 2024
Merged

feat: hints parsing #1

merged 10 commits into from
Jun 30, 2024

Conversation

jsonmaf1a
Copy link
Member

No description provided.

Copy link
Contributor

@JarKz JarKz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do changes that I requested. Other than that - LGTM.

Comment on lines 22 to 32
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub enum Category {
Device(Option<CategoryEvent>),
Email(Option<CategoryEvent>),
Im(Option<CategoryEvent>),
Network(Option<CategoryEvent>),
Presence(Option<CategoryEvent>),
Transfer(Option<CategoryEvent>),
#[default]
None,
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend to add CategoryEvent::Generic and use it instead of Option<CategoryEvent>, because it is easy to understand what means.

Copy link
Contributor

@JarKz JarKz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsonmaf1a jsonmaf1a merged commit 68dfccc into main Jun 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants