-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replace all host and Repository.displayHost with Repository.host #445
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #445 +/- ##
==========================================
+ Coverage 53.82% 53.88% +0.05%
==========================================
Files 168 168
Lines 3727 3723 -4
==========================================
Hits 2006 2006
+ Misses 1721 1717 -4 ☔ View full report in Codecov by Sentry. |
Making I hesitate between three solutions regarding the short file https://github.com/aeecleclair/Titan/blob/main/lib/centralisation/repositories/section_repository.dart:
|
BTW, notice the rare cases of requests not to Hyperion (namely for the fonts, Centralisation's SVG files, for Plausible, etc) do not use methods of |
c15d8fe
to
94285f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last option is best in terms of practices, however, it will require a lot f work for only one endpoint, which is a bit overkill.
Consider going for it if multiple services a being handled this way (we already change the cinéma module for instance)
Fix #444
However, the
decode
argument in getOne seems useless: now it's an unused argument, and its only appearance was hereTitan/lib/tools/repository/repository.dart
Line 116 in 318f0b3
which evaluates to
true || decode
which is true no matter the value ofdecode