You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
I would like to see real types with the minimum amount of optional fields.
Describe alternatives you've considered
Of course, we can check everything manually or disable TypeScript checking at all. But I believe it's not a good solution, as why do we need typings which do not work. #3151
This makes it even harder to implement I am guessing due to FieldMask standard query string where any caller can select which fields should be returned. So the library would have to infer types based on fields string that is passed as $fields query param to API. The devloper experience is prettu bad I agree, but also I can imagine that this is a tough one, especially since most types are generated from json schema that is itself generated from protobuff definitions I believe
Activity
Yuripetusko commentedon Jan 30, 2026
This makes it even harder to implement I am guessing due to FieldMask standard query string where any caller can select which fields should be returned. So the library would have to infer types based on
fieldsstring that is passed as$fieldsquery param to API. The devloper experience is prettu bad I agree, but also I can imagine that this is a tough one, especially since most types are generated from json schema that is itself generated from protobuff definitions I believe