fixture-monkey
fixture-monkey copied to clipboard
KotlinTypeDefaultArbitraryBuilder의 thenApply, acceptIf 파라미터 타입 경고 [v 1.1.6]
Describe the bug
giveMeKotlinBuilder로 빌더를 생성 했음에도 thenApply, acceptIf로 builder.set() 사용시 deprecated 경고가 발생합니다.
제 생각엔 아래처럼 변경되어야 할 것으로 보입니다. 감사합니다! as-is
override fun thenApply(biConsumer: BiConsumer<T, ArbitraryBuilder<T>>): KotlinTypeDefaultArbitraryBuilder<T> =
this.apply { delegate.thenApply(biConsumer) }
to-be
override fun thenApply(biConsumer: BiConsumer<T, KotlinTypeDefaultArbitraryBuilder<T>>): KotlinTypeDefaultArbitraryBuilder<T> =
this.apply { delegate.thenApply(biConsumer) }
Your environment
- fixtureMonkey 1.1.6
- kotlin 2.0.0
Steps to reproduce
Expected behaviour
deprecated 경고가 발생하지 않습니다.
Actual behaviour
deprecated 경고가 발생합니다.
@jurogrammer 님 안녕하세요.
breaking change가 발생할 수 있어 다음 minor 버전에서 해결하고자 합니다.
해결되면 공유드리겠습니다. 감사합니다.