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

添加对Record的支持 #278

Open
Gn3po4g opened this issue Nov 5, 2024 · 1 comment
Open

添加对Record的支持 #278

Gn3po4g opened this issue Nov 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Gn3po4g
Copy link

Gn3po4g commented Nov 5, 2024

目前entity模式返回指定VO时不支持record类型

public record TestVO(
            Integer id
) {
}

easyEntityQuery.queryable(Test.class)
                        .select(TestVO.class)
                        .toList();

上面代码会报错no such constructor: ……$TestVO.()void/newInvokeSpecial

@xuejmnet xuejmnet added the enhancement New feature or request label Nov 5, 2024
@xuejmnet
Copy link
Collaborator

xuejmnet commented Nov 5, 2024

目前而言是需要对象存在可空构造函数然后进行get set处理

record对象后续考虑一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants