Skip to content

Conversation

@emmadesilva
Copy link
Member

@emmadesilva emmadesilva commented Jul 26, 2024

This PR simplifies the AssetService API by making the HYDEFRONT_VERSION and HYDEFRONT_CDN_URL constants protected instead of public, as these no longer have any influence outside of the class, after #1910. This change improves encapsulation and reduces the public API surface, but it is a breaking change for any code directly accessing these constants. The PR also removes related unit tests that are no longer applicable due to the change in visibility.

@codecov
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (b16416b) to head (6e16df9).

Additional details and impacted files
@@                     Coverage Diff                     @@
##             normalize-the-asset-api     #1910   +/-   ##
===========================================================
  Coverage                     100.00%   100.00%           
+ Complexity                      1876      1875    -1     
===========================================================
  Files                            192       192           
  Lines                           4954      4951    -3     
===========================================================
- Hits                            4954      4951    -3     

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

@emmadesilva emmadesilva force-pushed the simplify-public-asset-service-api branch from 4178216 to 6e16df9 Compare July 26, 2024 09:46
@emmadesilva emmadesilva mentioned this pull request Jul 26, 2024
21 tasks
@emmadesilva emmadesilva marked this pull request as ready for review July 26, 2024 11:33
@emmadesilva emmadesilva merged commit e781b83 into normalize-the-asset-api Jul 26, 2024
@emmadesilva emmadesilva deleted the simplify-public-asset-service-api branch July 26, 2024 11:33
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.

2 participants