Replies: 5 comments 3 replies
-
Hello, I did some fixes yesterday around type hierarchy - maybe I messed up something.
|
Beta Was this translation helpful? Give feedback.
-
Ok got it! The previous API had an issue: match method should be const:
Node the This method should not modify internal states in theory.... |
Beta Was this translation helpful? Give feedback.
-
Code is exactly like in doc:
and later:
|
Beta Was this translation helpful? Give feedback.
-
Moved to issue #144 (this is a bug) |
Beta Was this translation helpful? Give feedback.
-
I do not use Calling "/rfid/ids-only" rewrites to "/rfid?ids-only=true" perfectly, so i can use both REST calling conventions. Maybe there is an easier way adding a rewrite without declaring a new class? |
Beta Was this translation helpful? Give feedback.
-
I have param-rewrite code exactly like in documention:
https://github.com/mathieucarbou/ESPAsyncWebServer?tab=readme-ov-file#param-rewrite-with-matching
With 3.3.19 the code no longer compiles:
error: 'bool OneParamRewrite::match(const AsyncWebServerRequest*)' marked 'override', but does not override 218 | bool match(const AsyncWebServerRequest* request) override { | ^~~~~
Can you show the new match() function and update the docs?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions