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

Fix missing code generation output for custom data annotation attributes #25128

Merged
merged 2 commits into from
Jun 25, 2021

Conversation

lauxjpn
Copy link
Contributor

@lauxjpn lauxjpn commented Jun 20, 2021

  • Fixes missing code generation output for custom data annotation attributes.
  • Adds regression tests.

The two regression tests currently skip the assembly build process, because the two custom data annotation attributes do not exist in the generated assembly. If necessary, the Microsoft.EntityFrameworkCore.Design.Tests assembly could be added as a reference or additional source code files (containing the attributes) could be added to the build process.

Should be considered as a 5.0 backport.

(Feel free to directly change/edit this PR, if less time consuming than writing a review.)

Fixes #25127

@AndriySvyryd AndriySvyryd self-assigned this Jun 22, 2021
Copy link
Member

@AndriySvyryd AndriySvyryd left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code generation for custom data annotation attributes is broken
2 participants