Marcus Voltolim
Marcus Voltolim
> For anyone else looking. I found 2 solutions: > > 1. Downgraded groovy version to 2 (2.5.15 is what I used) > 2. Adding the property and annotating it...
What I've been doing in Groovy projects is creating the classes mapped as `.java` and using lombok `@Getter/@Setter` annotations and just adding getter methods for `@DynamoDbPartitionKey` and `@DynamoDbSortKey`. Example: ```java...
Workaround with **Java21** using `ReactiveHttpRequestInterceptor` and `@RequestHeader`: ```java @ReactiveFeignClient(name = "ReactiveDynamicUrlApi", url = BASE_URL, path = "v1/api/product", configuration = ReactiveDynamicUrlApi.RequestInterceptor.class) interface ReactiveDynamicUrlApi { String BASE_URL = "base-url"; @PostMapping(path = "{id}",...
https://stackoverflow.com/a/75652127
From what I understand, yes! Just add a Map with the exceptions and false so that they are not retried and defaultValue=true ``` See one more constructor for that SimpleRetryPolicy:...
Other option: ``` public class IgnoreFatalErrorSimpleRetryPolicy extends SimpleRetryPolicy { private static final FatalExceptionStrategy exceptionStrategy = new ConditionalRejectingErrorHandler.DefaultExceptionStrategy(); public IgnoreFatalErrorSimpleRetryPolicy(int maxAttempts) { super(maxAttempts); } @Override public boolean canRetry(RetryContext context) { return...
It doesn't work with Java Record, if you create the getters in the record, it works.
This solution still doesn't work for PartitionKey or SortKey, because UpdateBehavior are not applied to either as shown in the print below. This is a workaround because it doesn't generate...
It's 2023 and they still haven't implemented this? Slutty lol
> Yes, how dare people not implement things you want, @marcusvoltolim. What is world coming to. How dare they. LoL, no problem, I will fix it soon!