-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
kind/enhancementSomething could be better.Something could be better.
Description
It seems like the API is purely a generated gRPC client. This makes it very unergonomic for JavaScript in many places:
- None of the classes have constructors. For example, I can't pass the value directly to
new Value(), instead I have to callvalue.setStringVal('abc'). One would expect an API more around object literals rather than getter and setter methods - The API allows contradictory state. For example, what happens when I call both
setStringVal()andsetIntVal()? - Some methods are confusingly named - e.g.
setSetJson() - There are no docblocks on any methods
- Some types are completely unclear how to use - e.g.
setGeoVal()takes astringor aUInt8Array.
Sceat and mj1268
Metadata
Metadata
Assignees
Labels
kind/enhancementSomething could be better.Something could be better.