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 Forward Attributes to Generated Code #117

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

ChrisPulman
Copy link
Member

Remove Attribute collection and forwarding

What kind of change does this PR introduce?

Fixes #116

What is the current behavior?

IViewFor forwards Attributes defined in source incorrectly

What is the new behavior?

IViewFor no longer forwards Attributes defined

What might this PR break?

Non due to non-compiling code if using in this way.

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

Remove Attribute collection and forwarding
@glennawatson
Copy link
Contributor

Is it worth adding a couple unit tests for this one? At least some verification ones.

@ChrisPulman
Copy link
Member Author

Is it worth adding a couple unit tests for this one? At least some verification ones.

We need to amend the tests to work with wpf / winforms first but definitely in the pipeline

@ChrisPulman ChrisPulman merged commit e9ebdb6 into main Nov 7, 2024
1 check passed
@ChrisPulman ChrisPulman deleted the CP_FixForwardAttributesToGeneratedCode branch November 7, 2024 08:01
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: IViewForGenerator "leaks" other attributes to generated code
2 participants