Skip to content

Update schema to require funding field on /can-funding-recieved #3337

Merged
maiyerlee merged 6 commits intomainfrom
OPS-310/3209_budget_is_required_on_can_funding_recieved
Jan 27, 2025
Merged

Update schema to require funding field on /can-funding-recieved #3337
maiyerlee merged 6 commits intomainfrom
OPS-310/3209_budget_is_required_on_can_funding_recieved

Conversation

@maiyerlee
Copy link
Contributor

@maiyerlee maiyerlee commented Jan 22, 2025

What changed

This will require the funding field on the /can-funding-recieved endpoint, as specified in the marshmallow schema.

Issue

3209

How to test

Test passing.

Screenshots

N/A

Definition of Done Checklist

  • OESA: Code refactored for clarity
  • OESA: Dependency rules followed
  • Automated unit tests updated and passed
  • Automated integration tests updated and passed
  • Automated quality tests updated and passed
  • Automated load tests updated and passed
  • Automated a11y tests updated and passed
  • Automated security tests updated and passed
  • 90%+ Code coverage achieved
  • Form validations updated

Links

N/A

@maiyerlee maiyerlee linked an issue Jan 22, 2025 that may be closed by this pull request
@maiyerlee maiyerlee self-assigned this Jan 22, 2025
@maiyerlee maiyerlee changed the title feat: make funding required on create and update CAN funding received Update schema to require funding field on /can-funding-recieved Jan 27, 2025
@maiyerlee maiyerlee marked this pull request as ready for review January 27, 2025 16:23
Copy link
Contributor

@fpigeonjr fpigeonjr left a comment

Choose a reason for hiding this comment

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

🤔 is there any impact to our our types in the CANTypes.d.ts

@maiyerlee
Copy link
Contributor Author

🤔 is there any impact to our our types in the CANTypes.d.ts

I don't think so. The response will stay the same. I double-checked where we make the FE call and we're always setting a funding value.

@maiyerlee maiyerlee merged commit 1f0a091 into main Jan 27, 2025
42 checks passed
@maiyerlee maiyerlee deleted the OPS-310/3209_budget_is_required_on_can_funding_recieved branch January 27, 2025 18:55
@github-actions
Copy link

🎉 This PR is included in version 1.32.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

maiyerlee added a commit that referenced this pull request Jan 27, 2025
…ed (#3337)

* feat: make funding required on create and update CAN funding received

* test: rename test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

funding is required field for POST to /can-funding-recieved endpoint

4 participants