micronaut-core: KSP incorrectly interprets fields in the interface

Expected Behavior

Try to analyze io.micronaut.data.model.Pageable. Here differences between KSP and java: изображение

As you see we have two bugs:

  1. Constants UNPAGED and UNSORTED were interpreted as properties
  2. Problem with processing class Sort.Order: KSP lost property direction, but interpreted wrong property ascending

Version

4.2.1

About this issue

  • Original URL
  • State: open
  • Created 7 months ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

I will check it later