add typed router configs in examples#17065
add typed router configs in examples#17065phlax merged 7 commits intoenvoyproxy:mainfrom greymatter-io:examples-add-router-type
Conversation
Signed-off-by: Justin Ely <justincely@gmail.com>
Signed-off-by: Justin Ely <justincely@gmail.com>
|
@justincely im wondering about this - mostly i have been trying to keep the configs as simple as possible so im wondering if its necessary - at least in all of the examples |
|
and whether we can have some kinda default here |
im wondering if we can remove the |
|
ohhh, i see what you're saying. Sure - i'll give that a try. I wouldn't expect that to work, just from prior art, but that would be awesome if that wasn't needed. |
i dont think it does work now - but i think it would be preferable to adding empty or default config - not sure if that makes sense or whether not including at all is possible or would mean something different |
Signed-off-by: Justin Ely <justincely@gmail.com>
|
so, interestingly it seems to work fine. Just deleted the |
|
though, neither of us thinking this worked leads me to believe this should be documented better :) |
wow! theres a lot of these dotted around the code base $ git grep "typed_config: {}"
...
if it passes ci - then i think we should remove
yep! |
|
@phlax do you want me to remove all empty typed config? I just did the router in the examples; since that was the specifics of the discussion, but I can do the others if you think it's prudent? |
i think yes - the problem is that if you leave some they inevitably grow and spread through copypasta also - i think its a better pattern/clearer to remove these so probs best to just remove everywhere |
Signed-off-by: Justin Ely <justincely@gmail.com>
Signed-off-by: Justin Ely <justincely@gmail.com>
|
the one thing im not sure about is removing from test data - probs its best - but if we can get ci to pass ill ping for confirmation |
Signed-off-by: Justin Ely <justincely@gmail.com>
|
sounds good |
Signed-off-by: Justin Ely <justincely@gmail.com>
|
seems like test pass
im thinking if tests pass this shouldnt be a problem |
Signed-off-by: Justin Ely <justincely@gmail.com> Signed-off-by: chris.xin <xinchuantao@qq.com>
Signed-off-by: Justin Ely <justincely@gmail.com>
Signed-off-by: Justin Ely justincely@gmail.com
Following discussion in #15017, the router should include the typed config.
Commit Message: add typed router configs in examples
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features: