Skip to content

cannot GetSnapshot or CloneSnapshot for GenericSnapshot #461

@kdorosh

Description

@kdorosh

this line of code always throws an interface panic https://github.com/solo-io/solo-kit/blob/v0.24.2/pkg/api/v1/control-plane/cache/generic_snapshot.go#L134

we need to fix it so we can test / validate generic snapshot marshalling

resolving this will require updates to the base Resource interface and perhaps sweeping changes across codegen

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