-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.
Description
Datastore's ProjectionEntity, IncompleteKey, Entity and Key have static builder methods:
public static Builder builder(ProjectionEntity copyFrom)
public static Builder builder(IncompleteKey copyFrom)
public static Builder builder(Entity copyFrom)
public static Builder builder(Key copyFrom)In other modules we use a toBuilder() instance method to create builders from entity objects. Should we use toBuilder() also in Datastore? Or is there a reason to prefer static builder(ResourceType copyFrom)? \cc @ajkannan @aozarov
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.