Skip to content

snippet-gen: object variable appears to default to "". #593

@bcoe

Description

@bcoe

If a parameter is an object, it would be less confusing if we defaulted to {}, in the case below can the parameter be a string or object? or did we just miss applying this logic:

Screen Shot 2021-09-22 at 6 54 31 AM

Refs: googleapis/nodejs-logging#1160

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in 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