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

Fix incremental builds missing accessors #7844

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

clementetb
Copy link
Collaborator

@clementetb clementetb commented Sep 5, 2023

Closes #7840.

Incremental builds would not modify the accessors correctly. The issue is caused because the function isRealmModelClass fails to detect valid Realm models in incremental builds.

The issue was introduced when this function was refactored and failed to add a negation. Original function.

Tested manually and reviewed the generated bytecode.

@clementetb clementetb self-assigned this Sep 5, 2023
@cla-bot cla-bot bot added the cla: yes label Sep 5, 2023
@clementetb clementetb changed the base branch from main to releases September 5, 2023 17:58
Copy link
Contributor

@cmelchior cmelchior left a comment

Choose a reason for hiding this comment

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

Great find 👍 ...we also need a CHANGELOG update though.

@clementetb clementetb merged commit 047708f into releases Sep 7, 2023
3 checks passed
@clementetb clementetb deleted the ct/fix-incremental-builds-missing-accessors branch September 7, 2023 12:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

At times, Realm proxy objects stop providing their data
2 participants