Metriche repository
- Star
- (12.623 stelle)
- Metriche merge PR
- (Merge medio 10g 17h) (69 PR mergiate in 30 g)
Descrizione
Hi there !
Currently, when you make an object PathBindable it's impossible to also make it QueryStringBindable at the same time.
The reason being that the method String unbind(String key); is utilized by both PathBindable and QueryStringBindable but in two very different way.
The first expect only the value to add to the path which the second expect a query string syntaxe such as key1=value1.
This is a bit weird like for example when you're making entities or models that should be able to be bindable in both the path and the query string.
The easiest way to solve this would be to rename one of the unbind method from one of the interface. An other solution would be to have a single interface making sure that everything that can be bind to a path can also be bind to a query string.