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

feat: add attributes conditional attribute to add support for removing runtime assets #1027

Merged
merged 1 commit into from
Dec 21, 2023
Merged

feat: add attributes conditional attribute to add support for removing runtime assets #1027

merged 1 commit into from
Dec 21, 2023

Conversation

latonz
Copy link
Contributor

@latonz latonz commented Dec 20, 2023

Add conditional attributes

Description

This adds the conditional attribute to the attributes and allows the removal of the runtime assets of Mapperly (ExcludeAssets="runtime"), except when using reference handling. Removes the templates since they are not needed anymore. The constant MAPPERLY_ABSTRACTIONS_SCOPE_RUNTIME allows to keep the attributes at runtime.

Fixes #881
Fixes #1015
Fixes #849

@latonz latonz added the enhancement New feature or request label Dec 20, 2023
@latonz latonz self-assigned this Dec 20, 2023
Copy link

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (edfb841) 91.37% compared to head (a5028ea) 91.30%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1027      +/-   ##
==========================================
- Coverage   91.37%   91.30%   -0.07%     
==========================================
  Files         223      220       -3     
  Lines        7231     7168      -63     
  Branches      914      911       -3     
==========================================
- Hits         6607     6545      -62     
  Misses        412      412              
+ Partials      212      211       -1     

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

@latonz latonz marked this pull request as ready for review December 20, 2023 15:49
@latonz latonz requested a review from ni507 December 20, 2023 15:49
@latonz latonz enabled auto-merge (squash) December 20, 2023 15:49
@latonz latonz merged commit ca3ea5a into riok:main Dec 21, 2023
@latonz latonz deleted the 881-remove-runtime-dependency branch December 21, 2023 11:07
Copy link

github-actions bot commented Jan 6, 2024

🎉 This PR is included in version 3.4.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 3.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants