googleapis / googleapis/google-cloud-go

firestore: design doc for custom datatypes

Open
#2,610 8 comments 36 reactions 1 assignee Assigned to @bhshkh View on GitHub
api: firestore type: feature request
Dominant language
Go
Stars
4.5k
Forks
1.6k
Avg merge
1d 13h
Merged PRs (30d)
109

Description

Issues: #1438 #1863 #1740 #1475 #1267 #2643

Past attempts at fixes from the community: #2481 , https://code-review.googlesource.com/c/gocloud/+/50430 (mentions something like [datastore.PropertyLoadSaver](https://pkg.go.dev/cloud.google.com/go/datastore?tab=doc#PropertyLoadSaver) as a potential model for a solution.

We've seen a collection of issues (linked above) related to using user-defined data types with the firestore library. This is definitely a gap and something that's impacted the usability of the library. This issue covers making a design doc for a fix:

* Consolidate and synthesize all the issues raised in the above threads
* Define the criteria for what needs to be accomplished in a fix.
* Propose solution(s) with a basic definition of what the surface will look like.

We'll need to review the design before moving forward to implementation. The design must be not constitute a breaking change.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.