Skip to content

Conversation

swangi-kumari
Copy link
Contributor

Type of Change

Issue: defaults case in match shouldn't be handled using "_"

Solution: "_" will never let the developer know impact of his changes incase of new addition of enum variants. By having the all cases in match compiler itself will throw errors wherever new enums needs to be handled

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Screen Shot 2023-08-21 at 4 16 08 PM 2

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible
  • I added a CHANGELOG entry if applicable

@swangi-kumari swangi-kumari added A-connector-integration Area: Connector integration S-waiting-on-review Status: This PR has been implemented and needs to be reviewed C-refactor Category: Refactor labels Aug 21, 2023
@swangi-kumari swangi-kumari requested a review from a team as a code owner August 21, 2023 10:53
@swangi-kumari swangi-kumari self-assigned this Aug 21, 2023
@ArjunKarthik ArjunKarthik added S-ready-for-merge and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Sep 12, 2023
@ArjunKarthik ArjunKarthik added this pull request to the merge queue Sep 12, 2023
Merged via the queue into main with commit ca9fb0c Sep 12, 2023
@ArjunKarthik ArjunKarthik deleted the refactor-paypal-error-message branch September 12, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-connector-integration Area: Connector integration C-refactor Category: Refactor
Projects
No open projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

3 participants