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

entc/gen: fixed unnamed field initialization #2648

Merged
merged 4 commits into from Jun 14, 2022

Conversation

giautm
Copy link
Collaborator

@giautm giautm commented Jun 14, 2022

No description provided.

@giautm giautm changed the title entc/gen: fixed ConstraintError fields name entc/gen: fixed unnamed field initialization Jun 14, 2022
Copy link
Member

@a8m a8m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@a8m a8m merged commit 195be2d into ent:master Jun 14, 2022
@giautm giautm deleted the giautm/fix-constraint-error-fields branch June 14, 2022 09:35
@frederikhors
Copy link
Contributor

Using entgo.io/ent v0.10.2-0.20220614093246-195be2d98d88 I'm still getting errors after fieldalignment for this case:

err = &ConstraintError{err.Error(), err}

image

@frederikhors
Copy link
Contributor

Nope. It works. My bad. Sorry.

@giautm giautm restored the giautm/fix-constraint-error-fields branch March 30, 2023 22:12
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 this pull request may close these issues.

None yet

3 participants