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

breaking: require braces in attribute values #2696

Closed
wants to merge 527 commits into from

Conversation

blorbb
Copy link
Contributor

@blorbb blorbb commented Jul 19, 2024

Added the braced attribute requirements stated in #2196 while waiting on rs-tml/rstml#54 upstream. This doesn't implement the better r-a support because that needs to be done in rstml, it just enforces the new value requirements.

Note: when I run cargo c or cargo t, I get a bunch of warnings and errors, not sure why. I think I changed all existing view! calls to follow the brace requirements but I may have missed a few that didn't get raised because of all the other errors.

Maybe this can be merged when the 0.7 beta is released along with an announcement of how to migrate using leptosfmt?

@blorbb
Copy link
Contributor Author

blorbb commented Jul 25, 2024

oh i somehow only just realised that this pr has all the 0.7 commits, I'll try fix it soon

edit: actually is this normal? i have no clue why this happened

@benwis
Copy link
Contributor

benwis commented Jul 28, 2024

I think you've created your PR on top of main with the 0.7 changes built in

@blorbb
Copy link
Contributor Author

blorbb commented Jul 28, 2024

i'll just close this since rs-tml/rstml#54 has been merged, i'll make the proper PR with the better changes

@blorbb blorbb closed this Jul 28, 2024
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.