Skip to content

Update all generated IDs to use Longs instead of longs - #3236

Merged
gbrodman merged 1 commit into
google:masterfrom
gbrodman:nullableIdentifiers
Sep 18, 2026
Merged

gbrodman merged 1 commit into
google:masterfrom
gbrodman:nullableIdentifiers

Conversation

@gbrodman

@gbrodman gbrodman commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

This makes tracking whether or not an entity has been persisted in the database much simpler, since we can use null as a pure sentinel value to say "this object has not been persisted yet". This makes things like "updateAll" much easier and simpler to implement efficiently later because that will rely on knowing what entities are inserts vs merges


This change is Reviewable

This makes tracking whether or not an entity has been persisted in the
database much simpler, since we can use null as a pure sentinel value to
say "this object has not been persisted yet". This makes things like
"updateAll" much easier and simpler to implement efficiently later
because that will rely on knowing what entities are inserts vs merges

@weiminyu weiminyu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@weiminyu reviewed 6 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on gbrodman).

@gbrodman
gbrodman added this pull request to the merge queue Sep 18, 2026
Merged via the queue into google:master with commit 7b26018 Sep 18, 2026
16 checks passed
@gbrodman
gbrodman deleted the nullableIdentifiers branch September 18, 2026 18:39
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