-
Notifications
You must be signed in to change notification settings - Fork 2
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
Added payment link programmatically #105
base: main
Are you sure you want to change the base?
Conversation
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.
Please add testing details
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.
Tests are failing in build
platform/src/main/java/com/flickmatch/platform/graphql/builder/EventBuilder.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/graphql/builder/EventBuilder.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/graphql/builder/EventBuilder.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/graphql/type/StripePaymentLink.java
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/graphql/builder/EventBuilder.java
Outdated
Show resolved
Hide resolved
platform/src/main/java/com/flickmatch/platform/graphql/builder/EventBuilder.java
Outdated
Show resolved
Hide resolved
sportsVenue1.setStripePaymentLinks((List<SportsVenues.StripePaymentLink>) stripePaymentLink); | ||
List<SportsVenues> sportsVenuesList = new ArrayList<>(); | ||
sportsVenuesList.add((SportsVenues) sportsVenue1.getStripePaymentLinks()); | ||
sportsVenueRepository.saveAll(sportsVenuesList); |
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.
aren't we overriding existing list here?
SportsVenues sportsVenues = new SportsVenues(); | ||
String cityId = String.valueOf(Long.valueOf(sportsVenues.getCityId())); |
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.
we are creating a new object and reading cityId from it. Is it desired behavior?
No description provided.