-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Enable strict types mode #362
Conversation
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
…t/Peacock into rdil/type-fixes
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
challenge.InclusionData.ContractTypes.filter( | ||
challenge.InclusionData?.ContractTypes?.filter( | ||
(type) => type !== "tutorial", | ||
), | ||
) || [], |
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.
Possible behavior change
const mainGroup = gameGroups.get(location)?.get(groupId) | ||
|
||
if (groupId === "feats" && gameVersion !== "h3") { | ||
if (!mainGroup) { | ||
// emergency bailout - shouldn't happen in practice | ||
return undefined | ||
} | ||
|
||
return mergeSavedChallengeGroups( | ||
gameGroups.get(location)?.get(groupId), | ||
mainGroup, | ||
gameGroups.get("GLOBAL_ESCALATION_CHALLENGES")?.get(groupId), |
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.
Possible behavior change
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
Signed-off-by: Reece Dunham <[email protected]>
I have a feeling that this PR has brought about more bugs than we realize... |
It probably has, but without people able to test it, we won't know. |
A small price to pay for the greater good, IMO. |
Slowly but surely enabling strict null checking on the codebase for enhanced security.
Opening this PR just to note for myself where potentially breaking changes are.