Dropwizard version: 1.0.0, dropwizard-guice version: 1.0.0.1
Given:
Resource method containing "@BeanParam"-annotated parameter, each field of the parameter's class is annotated with "@QueryParam(...)"
When server is running, values passed as query parameters to request are not passed to the resource method. The bean arrives with all fields' default (null) values.
Simple demo app (requires gradle)
Try to run main methods of GuiceApp and NoGuiceApp from your IDE and send get request to "localhost:8080/?foo=foo&bar=bar" to observe the issue.
Dropwizard version: 1.0.0, dropwizard-guice version: 1.0.0.1
Given:
Resource method containing "@BeanParam"-annotated parameter, each field of the parameter's class is annotated with "@QueryParam(...)"
When server is running, values passed as query parameters to request are not passed to the resource method. The bean arrives with all fields' default (null) values.
Simple demo app (requires gradle)
Try to run main methods of GuiceApp and NoGuiceApp from your IDE and send get request to "localhost:8080/?foo=foo&bar=bar" to observe the issue.