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

Change: set Scan ID of Scan Model to non-optional #1569

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

Kraemii
Copy link
Member

@Kraemii Kraemii commented Feb 15, 2024

As the scan ID was set by the server and not by the client, it was set to Optional. This lead to many unnecessary checks, even though it was not possible, that this value is None.

SC-1021

@Kraemii Kraemii requested a review from a team as a code owner February 15, 2024 10:35
@Kraemii Kraemii force-pushed the rs-adjust-scan-model branch from abf2686 to 5201a7c Compare February 15, 2024 10:38
rust/models/src/scan.rs Outdated Show resolved Hide resolved
@Kraemii Kraemii force-pushed the rs-adjust-scan-model branch from 5201a7c to 815d005 Compare February 16, 2024 08:57
@Kraemii Kraemii force-pushed the rs-adjust-scan-model branch 2 times, most recently from a957dad to 58f8655 Compare February 20, 2024 10:15
As the scan ID was set by the server and not by the client, it was set to Optional.
This lead to many unnecessary checks, even though it was not possible, that this value is None.
@Kraemii Kraemii force-pushed the rs-adjust-scan-model branch from 58f8655 to 28be075 Compare February 20, 2024 10:30
@Kraemii Kraemii enabled auto-merge (rebase) February 20, 2024 11:33
@Kraemii Kraemii merged commit a765d22 into main Feb 21, 2024
18 checks passed
@Kraemii Kraemii deleted the rs-adjust-scan-model branch February 21, 2024 13:43
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.

3 participants