Skip to content

"key is not a nested object" when part of path is null #2

@retrodaredevil

Description

@retrodaredevil

This error message is not always helpful when part of the data path is null.

We should check for null and provide a more descriptive message.

return nil, errors.New(fmt.Sprintf("Part of data path: %s is not a nested object! dataPath: %s", part, dataPath))

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions