-
Notifications
You must be signed in to change notification settings - Fork 6
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
We should be able to add /
and /*
to RouterService
#52
Comments
Not directly linked but not sure to get why static final class RequestMatcher {
private final Method method;
private final String uriPath;
private transient final boolean isPrefixed; |
Well, that |
Oh I was thinking |
That is needed by this testing tool: https://jqno.nl/equalsverifier/ to skip fields from being tested. |
Oh I didn't know about About transient, I read documentation : https://jqno.nl/equalsverifier/manual/ignoring-fields/#transient-fields and they also talk about serialization maybe it make more sense to use : https://jqno.nl/equalsverifier/manual/ignoring-fields/#ignoring-fields |
Currently this is not possible to do :
If you do that
RootResource
will never be called.I think this is because
/
and/*
will create 2RequestMatcher
which will be considered as equal and soDefault
will overrideRootResource
in handlers hashmap.Maybe the solution is to add
isPrefixed
attribute toequals()
andhashcode()
methods ?(triggered by #27 (comment))
The text was updated successfully, but these errors were encountered: