Skip to content

Commit

Permalink
added weakness about only accessing public API of router
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Feb 15, 2023
1 parent 9694253 commit 972f21d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ type Version = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10';
* them all to one handler, then the consumer must specify if-else/map/switch
* to correctly handle versions and map to the correct return type...
* WEAKNESSES:
* 1. Whole new API to design and implement
* 1. Assumes that versioning system will _never_ need to access non-public values
* or functionality of the IRouter. Is this assumption too strong?
* 2. Will it actually be used since this is only a recommendation?
* 3. Requires some refactoring to adopt
*/

0 comments on commit 972f21d

Please sign in to comment.