Skip to content

bug: retrieve panics when skuidMetadataService is not present in response #226

@techfg

Description

@techfg

When the response to GetRetrievePlan does not contain skuidMetadataService property, the CLI panics due to this line of code.

If an unexpected response is encountered, the CLI should handle and exit gracefully with an appropriate error message displayed to the user.

Similar to #225, what is the expected response from the server for api/v2/metadata/retrieve/plan endpoint? Will it always contain at least skuidMetadataService even if its Metadata types are empty? Is there any situation where it could return skuidCloudDataService but not skuidMetadataService?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions