Skip to content

properly support enums #683

@alexander-fenster

Description

@alexander-fenster

It's hard to use enums if users's code is in TypeScript. The user would need to do something like

import * as protos from '@google-cloud/tasks/build/protos/protos';

to access the enum members, even though the docs suggest that a regular string can be passed. Need to figure out the right way to do it.

Metadata

Metadata

Labels

🚨This issue needs some love.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions