hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

[FEATURE] add `upsert` endpoint to `cards_info` table

Open Narayanbhat166 opened this issue 1 year ago • 2 comments

Feature Description

Currently there is only read endpoint available for cards_info table. It would be useful to add a upsert endpoint which would

  • Insert the row if the card_iin is not present
  • Update the fields if card_iin is already present

Possible Implementation

Similar to the get endpoint.

Have you spent some time to check if this feature request has been raised before?

  • [X] I checked and didn't find similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

No, but I'm happy to collaborate on a PR with someone else

Narayanbhat166 avatar Apr 26 '23 12:04 Narayanbhat166

I would like to work on this!

nachiketkanore avatar Apr 28 '23 07:04 nachiketkanore

I see that you have already been assigned #961, you can take this up once it is done. Untill then, this is open for anyone to be taken up

Narayanbhat166 avatar Apr 28 '23 07:04 Narayanbhat166

hey @Narayanbhat166 I am new to open source and somewhat understand the feature can i work on this?

Nishchay1571999 avatar May 01 '23 05:05 Nishchay1571999

Hi @Nishchay1571999, Thanks for showing interest. Yes, you can contribute to this issue by knowing basics of rust, and learn new things on the way. I will be assigning this issue to you. Let me know if anything is unclear about the issue description, always happy to help.

Narayanbhat166 avatar May 01 '23 10:05 Narayanbhat166

Thanks @Narayanbhat166 i ll be mailing you instead of commenting if i face any issue while building this update and if any help is required since this issue will be notified to a lot of people.

Nishchay1571999 avatar May 01 '23 10:05 Nishchay1571999

You can join our discord server where we will be able to communicate better and solve any issue faced by you.

Narayanbhat166 avatar May 01 '23 10:05 Narayanbhat166

Hi @Nishchay1571999, Since there has not been any updates from you, I will unassign you. Let me know if you would still like to work on this.

Narayanbhat166 avatar Jul 04 '23 09:07 Narayanbhat166

Hi, I am starting to have a little practice on Rust and would like to make my first contribution to an open source project. As this issue is still opened I would like to give it a shot !

Thank you in advance for your reply.

musosy avatar Aug 06 '23 09:08 musosy

That's great to hear @musosy. I will assign it to you!

Narayanbhat166 avatar Aug 07 '23 09:08 Narayanbhat166