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

Replace Virtus with Vets::Model on AVS #18680

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Conversation

stevenjcumming
Copy link
Contributor

@stevenjcumming stevenjcumming commented Sep 30, 2024

Summary

  • Virtus is discontinued and needs to be removed.
  • Replace Virtus models with Vets::Model
  • Vets::Model needed a minor update to handle the base case and AVS case
  • Another minor update to the spec was required to make the keys symbols

Related issue(s)

Testing done

  • manually comparing the previous and new AfterVisitSummary object

Acceptance criteria

  • virtus models are now subclasses of Vets::Model
  • model(s) don't use the virtus gem

@stevenjcumming stevenjcumming changed the title refactor avs_controller & implement vets::model Replace Virtus with Vets::Model on AVS Sep 30, 2024
@va-vfs-bot va-vfs-bot temporarily deployed to sjc-avs-vets-model/main/main September 30, 2024 16:43 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to sjc-avs-vets-model/main/main September 30, 2024 17:24 Inactive
@stevenjcumming
Copy link
Contributor Author

@acrollet would you (or someone on your team) mind reviewing this PR when you have a chance?

@va-vfs-bot va-vfs-bot temporarily deployed to sjc-avs-vets-model/main/main September 30, 2024 18:06 Inactive
RachalCassity
RachalCassity previously approved these changes Oct 1, 2024
@RachalCassity RachalCassity self-assigned this Oct 1, 2024
Copy link

github-actions bot commented Oct 1, 2024

Backend-review-group approval confirmed.

@stevenjcumming
Copy link
Contributor Author

I switched Vets::Model from a class to a module and the last commit should reflect those changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants