James Kleeh

Results 129 comments of James Kleeh

@remkop Yes - I appreciate the detailed response! Going to consider the programmatic approach

@ben-manes Because having to modify test dependencies each time they are upgraded costs time. As long as my tests pass I don't care if they are using the latest version....

@infinityat0 What if they were closed in the order they were declared in the constructor? Note that this would be difficult or impossible to guarantee if other beans depended on...

You can achieve the same with `grailsApplication.config.getProperty("nsl.shards", Map.class)`. Also note that `DefaultHttpClient` is an internal class and you shouldn't interact with it directly. Use `HttpClient.create` instead to achieve the same...

> Your code snippet above happens to work because currently the Grails config object is a Map of Map of Maps, and thus it is a no-op It doesn't work...

Also just as another point in your example parsing the config manually shouldn't be done beyond reading a single property. You can bind configuration to classes today with @ConfigurationProperties and...

Can you describe why it doesn't make sense? What problems is it causing? How would a CircuitOpenException help you?

@rawilder What is the point in making it a suspend function?

This is because the scheduled processor checks if the method has 0 arguments. In the case of a suspend function being called from Java, it takes a continuation argument

I think this should be handled at the framework level, otherwise anyone who executes methods will likely run into this issue and will have to handle it. For ExecutableMethods we...