Skip to content

Properties missing for types that use utils.Overwrite #2502

@clstokes

Description

@clstokes

Problem description

Documentation is missing for properties on interfaces/types that are extended using utils.Overwrite.

As one example, CallbackFunctionArgs extends BaseCallbackFunctionArgs and our docs show all the expected properties from these two types.

But, BaseCallbackFunctionArgs uses utils.Overwrite to overwrite FunctionArgs which contains description, environment, etc. that our docs do not include.

CallbackFunctionArgs   BaseCallbackFunctionArgs   FunctionArgs via utils.Overwrite

callback               code                       deadLetterConfig
callbackFactory        handler                    description
                       role                       environment
                       policies                   code
                       runtime                    name
                       codePathOptions            ...

                                                  ^ These are missing from API docs.

Metadata

Metadata

Assignees

Labels

area/docsImprovements or additions to documentationkind/bugSome behavior is incorrect or out of specresolution/wont-fixThis issue won't be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions