You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The poblem with call method createSpecific(type: Argument<Page<T>>). Look to screenshot:
As you see type is instance of DefaultGenericPlaceholder like SimpleModel T. But our type must be Page<T> because we set : MessageBodyWriter<Page<T>> {
Same test with kapt:
There are all fine - type is interface io.micronaut.data.model.Page and type argument is SimpleModel T
Custom MessageBofyWriter:
The poblem with call method
createSpecific(type: Argument<Page<T>>)
. Look to screenshot:As you see type is instance of
DefaultGenericPlaceholder
likeSimpleModel T
. But our type must bePage<T>
because we set: MessageBodyWriter<Page<T>> {
Same test with kapt:
There are all fine - type is interface
io.micronaut.data.model.Page
and type argument isSimpleModel T
For full reproduce just run tests in
test-suite-kotlin-ksp-server-generator
module in this branch: micronaut-projects/micronaut-openapi#1173Version
4.2.0
The text was updated successfully, but these errors were encountered: