-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat(payouts): add domain type for PayoutId #8395
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
933fc1f
feat(payouts): add domain type for PayoutId
kashif-m 3c8b301
chore: run formatter
hyperswitch-bot[bot] 6bb37c7
refactor: nitpicks
kashif-m 9dcc15d
Merge remote-tracking branch 'origin/main' into 8392-allow-payout_id_…
kashif-m 0fcf963
refactor: changes after merging with main
kashif-m fe6150c
chore: run formatter
hyperswitch-bot[bot] c321003
chore: commit schema_v2 changes
kashif-m 7661b2f
refactor: resolve comments
kashif-m 03bd857
docs(openapi): re-generate OpenAPI specification
hyperswitch-bot[bot] db5a2de
chore: re-run migration
kashif-m 1a2a3f2
chore: revert wise changes
kashif-m 47f636f
chore: remove newline
kashif-m 9ebe228
chore: clippy fixes
kashif-m c3fd2c2
Merge remote-tracking branch 'origin/main' into 8392-allow-payout_id_…
kashif-m c5a3361
chore: compilation fix after merging with main
kashif-m f46c39a
Merge remote-tracking branch 'origin/main' into 8392-allow-payout_id_…
kashif-m 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
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
crate::id_type!( | ||
PayoutId, | ||
"A domain type for payout_id that can be used for payout ids" | ||
); | ||
crate::impl_id_type_methods!(PayoutId, "payout_id"); | ||
crate::impl_debug_id_type!(PayoutId); | ||
crate::impl_try_from_cow_str_id_type!(PayoutId, "payout_id"); | ||
crate::impl_generate_id_id_type!(PayoutId, "payout"); | ||
crate::impl_queryable_id_type!(PayoutId); | ||
crate::impl_to_sql_from_sql_id_type!(PayoutId); |
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.
Uh oh!
There was an error while loading. Please reload this page.