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

Clean-up mutation tracking setup #113

Merged
merged 1 commit into from
Jun 24, 2021
Merged

Clean-up mutation tracking setup #113

merged 1 commit into from
Jun 24, 2021

Conversation

clowder
Copy link
Contributor

@clowder clowder commented Jun 23, 2021

Similar to #112 including the [Record] module in a class would produce
the following warning:

warning: instance variable @track_mutations not initialized

This was because we were trying to set a default value for
@track_mutations in .included, creating an instance variable in the
[Record] module rather than in our target class.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Similar to #112 including the `[Record]` module in a class would produce
the following warning:

```
warning: instance variable @track_mutations not initialized
```

This was because we were trying to set a default value for
`@track_mutations` in `.included`, creating an instance variable in the
`[Record]` module rather than in our target class.
@alextwoods alextwoods merged commit 10080de into aws:main Jun 24, 2021
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