-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
refactor(payment_methods_v2): rename payment_method
and payment_method_type
fields and use concrete type for payment_method_data
#6555
Open
SanchithHegde
wants to merge
14
commits into
main
Choose a base branch
from
payment-methods-v2-field-renames
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,169
−496
Open
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
07ad651
refactor(diesel_models): create a new type for `PaymentsMandateRefere…
SanchithHegde 81d907b
refactor(diesel_models): rename `payment_method` column to `payment_m…
SanchithHegde f2ed106
refactor(hyperswitch_domain_models): rename `payment_method` field to…
SanchithHegde d88a840
refactor(api_models): rename `payment_method` field to `payment_metho…
SanchithHegde 5b3db0f
refactor(api_models): remove unused `PaymentMethodList` struct
SanchithHegde fbdcb35
feat(hyperswitch_domain_models): introduce `EncryptedJsonType` to han…
SanchithHegde 926ff11
refactor(hyperswitch_domain_models): change `payment_method_data` fie…
SanchithHegde 60963cf
docs(openapi): re-generate OpenAPI specification
SanchithHegde 63087eb
fix: fix failing OpenAPI spec generation
SanchithHegde 94ca6cd
refactor(api_models): add a duplicate `ResponsePaymentMethodTypes` ty…
SanchithHegde 3b07339
docs(openapi): include `payment_methods_v2` for `v2` feature in `open…
SanchithHegde 6a624b8
docs(openapi): re-generate OpenAPI specification
SanchithHegde 9cafdbd
chore(type_encryption): add comment on not removing `skip_all` from `…
SanchithHegde 86740cd
Merge branch 'main' into payment-methods-v2-field-renames
SanchithHegde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we not changing the field name her?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since renaming the field affects the analytics pipeline, we'd have to include ClickHouse migrations as well.
For now, I'm not including v2 changes in the analytics pipeline.
CC: @ShivanshMathurJuspay @tsdk02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we renaming payment_method to payment_method_type ?