cashapp / backfila

Service that manages backfill state, calling into other services to do batched work
https://cashapp.github.io/backfila/
Apache License 2.0
30 stars 49 forks source link

Reflection for Java Parameter record classes is broken #348

Open keeferrourke opened 9 months ago

keeferrourke commented 9 months ago
class kotlin.reflect.jvm.internal.calls.CallerImpl$FieldGetter cannot access a member of class com.squareup.fidelius.server.backfill.backfila.dynamo.Parameters with modifiers "private final" 

To support record classes, we need to change the reflection strategy to use RecordComponents if the javaClass isRecord().