You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for adding to the list. I agree with all these suggestions.
We also have X-Medic-Service header that we pass to haproxy in both api and sentinel.
For doc ids, we can also make it return translation doc names like (code) => messages-${code}.
Same applies to form names, other docs that have prefixes (org.couchdb.user:).
I think we're going to end up with a sizeable list.
Describe the issue
We have a bunch of magic strings spread throughout the app.
One of the prominent ones being
mm-online
: https://github.com/search?q=repo%3Amedic%2Fcht-core+mm-online&type=codeThis is not the only example.
Describe the improvement you'd like
Collect all reused magic strings and add them to a shared library.
The text was updated successfully, but these errors were encountered: