-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firestore: firestore.Update
should implement String()
#8651
Comments
Hi there, That said, if Note: Please do not start a feature request with "I'm disappointed that X". This is the second issue I've read that leads with this language. It does not make anyone feel good or excited to solve a problem. I understand you may be frustrated by the lack of some functionality, but we are all busy developers like yourself, and shaming maintainers into implementing a feature isn't kind. Thank you for udnerstanding. |
@noahdietz I chose to use "I'm disappointed ..." because the official template example on this repository was in that format. As seen in the screenshot below, why does it matter how the expression is worded if it accurately conveys the customer's feelings as long as it's not rude? |
Thanks for pointing that out, I will have it changed.
Because we should never try, intentionally or otherwise, to make anyone feel bad. The folks that respond to this issue may not be the people that were involved in the code/issue in the first place. "I am disappointed" elicits a shame response in those that are "responsible" for the repository. It also implies that the code/repo in question is actively doing something wrong, which isn't always immediately obvious. We can of course empathize with end user frustration and saying "Here is ABC potential issue/question. This is frustrating because XYZ" is entirely reasonable, but personally, I don't think that conveying such emotions is ever really constructive. When is an issue ever not frustrating, ya know?
@wjkoh ^ |
When I worked at Google, my team never viewed user reports that expressed their feelings as "shaming". Instead, we saw it as a valuable source of information. Is this Google's new official policy or just your personal opinion? It appears to be unnecessary and not very productive. Consider how much time you and I are investing in something that doesn't benefit us. Please keep in mind that people who are submitting issues are likely customers paying for Firebase, and I think they should be allowed to express how they feel as long as they do so in a polite manner. We're not here for a lecture, we're here for a better product for our money. Coming back to the issue, |
It's my personal opinion as one of the maintainers of this repo, with the agreement of other maintainers.
I don't think this is a waste of time, I think this is valuable discourse on how we treat each other online. I was even able to improve (imo at least) our feature request issue template language as result: #9046.
And I'm here to help do that while helping maintain an intellectually/emotionally safe environment. What ever happened to just asking nicely e.g. "It would be great if X did Y, because Z"? Sounds like this should be left open for @bhshkh or another |
I'm disappointed that
firestore.Update
does not implementString()
, even though its underlying data type,DocumentTransform_FieldTransform
, already does.I have a public function in my project that returns
firestore.Update
and I want to add a unit test for it. Generally, I use the Googlecmp
library to compare what I want and what I got throughcmp.Equal()
. Unfortunately,firestore.Update
has an unexported field,t
, that contains all the information. I wish if we could implementUpdate.String()
asfunc (u Update) String() string { return u.t.String() }
. For now, I'm using my own stringfy function using reflect, but it is unsafe and inconvenient, as below.The text was updated successfully, but these errors were encountered: