Repository navigation
package:protoc_plugin v22.2.0
·
76 commits
to master
since this release
-
Bump
protobufconstraint to^4.1.0 -
Read
default_hostandoauth_scopesoptions from gRPC service definitions
and write that information to the generated gRPC clients. -
Adjust the deprecation messages for the message
clone()andcopyWith()
methods (#998). -
Generate dartdocs for grpc services (#973).
We now parse and generate code cooresponding to the proto options
google.api.default_hostandgoogle.api.oauth_scopes:service Firestore { option (google.api.default_host) = "firestore.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform," "https://www.googleapis.com/auth/datastore"; ...
Will generate as:
class FirestoreClient extends $grpc.Client { /// The hostname for this service. static const $core.String defaultHost = 'firestore.googleapis.com'; /// OAuth scopes needed for the client. static const $core.List<$core.String> oauthScopes = [ 'https://www.googleapis.com/auth/cloud-platform', 'https://www.googleapis.com/auth/datastore', ]; ...
-
Minimum SDK dependency bumped from 3.3.0 to 3.6.0. (#1001)