Skip to content

chore(game): overhaul not null annotation usage - #96

Merged
Joltras merged 1 commit into
mainfrom
feature/annotationHandling
Aug 9, 2026
Merged

chore(game): overhaul not null annotation usage#96
Joltras merged 1 commit into
mainfrom
feature/annotationHandling

Conversation

@Joltras

@Joltras Joltras commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Proposed changes

Currently, the project doesn't use package-info files, which can be used to specify that everything is non-null by default and that things which can be null must be explicitly declared as such. Because of this, there is currently some boilerplate code for handling these annotations.

This pull request updates the annotation handling to reduce this boilerplate and make the codebase more consistent.

Types of changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

  • I have read the CONTRIBUTING.md
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Test results

 81 files   81 suites   52s ⏱️
 57 tests  57 ✅ 0 💤 0 ❌
171 runs  170 ✅ 1 💤 0 ❌

Results for commit 8932c43.

@Joltras
Joltras merged commit 0eb166c into main Aug 9, 2026
7 checks passed
@Joltras
Joltras deleted the feature/annotationHandling branch August 9, 2026 12:30
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.

1 participant