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

Can't insert newly created entity if create an entity using new(id: ID?, ...) and refresh it #925

Closed
socar-brad opened this issue May 27, 2020 · 0 comments · Fixed by #926

Comments

@socar-brad
Copy link
Contributor

I can't insert newly created entity if create an entity using new(id: ID?, ...) and refresh it.

val x = Human.new(2) {
    h = "foo"
}
x.refresh(flush = true)

I think that fixing some logics checks if entity is created(e.g. id._value == null) will fix the bug.

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

Successfully merging a pull request may close this issue.

1 participant