-
Notifications
You must be signed in to change notification settings - Fork 2
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
[FIL-544] Fetch issue reporter handle #250
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure cache syncing is tested as well.
rename = "Issue Reporter Handle", | ||
skip_serializing_if = "Option::is_none" | ||
)] | ||
pub issue_reporter_handle: Option<String>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decide if we put this field as a separate column or in the app file. We can't have it in both places, as it risks desyncs.
fplus-lib/src/core/mod.rs
Outdated
if let Some(issue_reporter_handle) = app_file.issue_reporter_handle { | ||
Some(issue_reporter_handle) | ||
} else { | ||
get_issue_reporter_handle(&app_file.id).await.map_err(|e| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should never be needed. If we have different values in app file and in the dedicated column, things are very broken already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make apis consistent
c02f0a5
to
a7064d1
Compare
No description provided.