CHJani / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Generated service specific libraries should check for missing parameters #322

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
UriTemplate in http://codereview.appspot.com/5162042/ will no longer throw an 
Exception if a parameter value specified in a template is missing.
GoogleUrl.create used to throw an Exception for missing parameter values.

This means that the generated service-specific libraries should now check for 
missing parameters.

Original issue reported on code.google.com by rmis...@google.com on 14 Oct 2011 at 10:08

GoogleCodeExporter commented 9 years ago
Clarification: GoogleUrl.create() has been deprecated and replaced by 
UriTemplate.  So when we switch the generator to use the new UriTemplate-based 
implementation, we will also need to add checks for missing required parameters.

Original comment by yan...@google.com on 17 Oct 2011 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 4 Nov 2011 at 3:38

GoogleCodeExporter commented 9 years ago
Fixed it in the Java code generator.

Original comment by rmis...@google.com on 14 Nov 2011 at 11:21