Skip to content

update how we set vettec form type to avoid casing issue#27797

Merged
s-caso merged 8 commits intomasterfrom
update-form-type-method-for-vettec
Apr 22, 2026
Merged

update how we set vettec form type to avoid casing issue#27797
s-caso merged 8 commits intomasterfrom
update-form-type-method-for-vettec

Conversation

@s-caso
Copy link
Copy Markdown
Contributor

@s-caso s-caso commented Apr 16, 2026

Summary

Screenshot 2026-04-21 at 11 12 09 AM

@s-caso s-caso marked this pull request as ready for review April 16, 2026 19:09
Copilot AI review requested due to automatic review settings April 16, 2026 19:09
@s-caso s-caso requested review from a team as code owners April 16, 2026 19:09
jazebnad
jazebnad previously approved these changes Apr 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates MEB API’s DGI “claim type” formatting to preserve VetTec casing so requests align with DGI’s enum expectations.

Changes:

  • Avoids .capitalize for VetTec when building DGI automation claimant endpoints.
  • Adjusts EducationBenefitsController#set_type to keep VetTec casing instead of always capitalizing.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
modules/meb_api/lib/dgi/automation/service.rb Special-cases VetTec to avoid .capitalize breaking DGI enum casing.
modules/meb_api/app/controllers/meb_api/v0/education_benefits_controller.rb Sets @form_type without forcing .capitalize for VetTec.

Comment thread modules/meb_api/app/controllers/meb_api/v0/education_benefits_controller.rb Outdated
Comment thread modules/meb_api/lib/dgi/automation/service.rb Outdated
Comment thread modules/meb_api/app/controllers/meb_api/v0/education_benefits_controller.rb Outdated
s.caso added 2 commits April 16, 2026 20:26
…tment-of-veterans-affairs/vets-api into update-form-type-method-for-vettec
@s-caso s-caso requested a review from jazebnad April 17, 2026 14:16
@rmtolmach
Copy link
Copy Markdown
Contributor

@s-caso Is there a ticket associated with this work? Can you link it in the description or update the description with some more information?

@s-caso
Copy link
Copy Markdown
Contributor Author

s-caso commented Apr 21, 2026

@rmtolmach added a screen shot of the ticket and a link to it

@s-caso s-caso merged commit ee31b4f into master Apr 22, 2026
44 of 46 checks passed
@s-caso s-caso deleted the update-form-type-method-for-vettec branch April 22, 2026 17:35
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.

5 participants