Skip to content

Generic attributes parsing #1301

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

BenFordTytherington
Copy link
Collaborator

Generalise parsing of attributes, and make it more robust in terms of duplicate attributes, passthrough and reusability.
Fix #1132

@BenFordTytherington BenFordTytherington force-pushed the generic-attributes branch 2 times, most recently from 9abdf6a to 40325df Compare July 2, 2025 16:23
Copy link

codecov bot commented Jul 2, 2025

Codecov Report

Attention: Patch coverage is 99.41860% with 1 line in your changes missing coverage. Please review.

Project coverage is 99.99%. Comparing base (cd1d58b) to head (166a64c).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
crates/cxx-qt-gen/src/parser/attribute.rs 98.83% 1 Missing ⚠️

❌ Your project check has failed because the head coverage (99.99%) is below the target coverage (100.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##              main    #1301      +/-   ##
===========================================
- Coverage   100.00%   99.99%   -0.01%     
===========================================
  Files           75       76       +1     
  Lines        12772    12854      +82     
===========================================
+ Hits         12772    12853      +81     
- Misses           0        1       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Add get_one method to ignore duplicates and just get the first
@BenFordTytherington BenFordTytherington force-pushed the generic-attributes branch 5 times, most recently from aaa1547 to 1538def Compare July 18, 2025 12:04
@BenFordTytherington BenFordTytherington force-pushed the generic-attributes branch 8 times, most recently from 63f9c48 to 31c60ec Compare July 18, 2025 15: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.

Consider a generic way to support pass through attributes in cxx-qt-gen
1 participant