Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some queries are not working #12

Open
abstratt opened this issue Apr 20, 2018 · 0 comments
Open

Some queries are not working #12

abstratt opened this issue Apr 20, 2018 · 0 comments

Comments

@abstratt
Copy link
Owner

Apparently, queries with parameters? Maybe related to queries that accept pageRequests? Maybe related to enumeration as parameters?

Invoking Expense.byStatus:

    @QueryOp
    fun byStatus(status: Expense.Status, pageRequest: Pageable? = null): Page<Expense> =
            repository.findAllByStatus(status, pageRequest)

results into:

{"message":"This callable does not support a default call: public final fun byStatus(arg0: com.abstratt.easyalpha.expenses.Expense.Status, arg1: org.springframework.data.domain.Pageable?): raw (org.springframework.data.domain.Page\u003c(kotlin.Any..kotlin.Any?)\u003e..org.springframework.data.domain.Page\u003c*\u003e) defined in com.abstratt.easyalpha.expenses.`ExpenseService$$EnhancerBySpringCGLIB$$b818aac3`[JavaMethodDescriptor@29897c40]","kind":"INTERNAL"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant