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

Resolve alias_attribute Deprecation Warnings #16732

Merged
merged 7 commits into from
May 14, 2024

Conversation

stevenjcumming
Copy link
Contributor

@stevenjcumming stevenjcumming commented May 13, 2024

Summary

  • Remove a deprecation warning from two files
    • app/models/form526_job_status.rb
    • app/models/saved_claim/disability_compensation.rb
  • switched to alias for Form526JobStatus
  • remove alias_attribute for SavedClaim::DisabilityCompensation because isn't used anymore

Related issue(s)

Testing done

  • Run test suite locally

Acceptance criteria

  • No alias_attribute deprecation warnings in the CI logs

@stevenjcumming stevenjcumming self-assigned this May 13, 2024
@va-vsp-bot
Copy link
Collaborator

Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: app/models/saved_claim/disability_compensation.rb

@va-vsp-bot
Copy link
Collaborator

Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: app/models/saved_claim/disability_compensation.rb

@stevenjcumming stevenjcumming changed the title Sjc fix alias dep warning Resolve alias_attribute Deprecation Warnings May 13, 2024
Copy link
Contributor

@freeheeling freeheeling left a comment

Choose a reason for hiding this comment

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

LGTM

@RachalCassity RachalCassity self-assigned this May 14, 2024
@stevenjcumming stevenjcumming merged commit b83b303 into master May 14, 2024
19 checks passed
@stevenjcumming stevenjcumming deleted the sjc-fix-alias-dep-warning branch May 14, 2024 20:25
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.

None yet

6 participants