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: create comments #148

Closed

Conversation

Michael-Liendo
Copy link
Contributor

@Michael-Liendo Michael-Liendo marked this pull request as draft September 9, 2023 19:59
crates/core/src/post/service.rs Outdated Show resolved Hide resolved
crates/core/src/post/service.rs Outdated Show resolved Hide resolved
crates/core/src/post/service.rs Outdated Show resolved Hide resolved
crates/core/src/post/service.rs Show resolved Hide resolved
Comment on lines +36 to +44
Err(err) => Ok(Self {
comment: None,
error: Some(PostError {
code: crate::graphql::modules::post::types::PostErrorCode::Unknown,
message: format!("An error ocurred: {err}"),
}),
}),
Copy link
Contributor

Choose a reason for hiding this comment

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

Use err instead of Unknown

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I cannot use error because error no have coincidences with the PostError Type

@Michael-Liendo Michael-Liendo force-pushed the feat/#118-commets-support branch from 415f1d9 to 911d79a Compare September 11, 2023 14:07
@Michael-Liendo Michael-Liendo deleted the feat/#118-commets-support branch September 19, 2023 13:35
@Michael-Liendo
Copy link
Contributor Author

Michael-Liendo commented Sep 30, 2023

By updates this issue is solve in another pr

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