Skip to content

feat: Destinations should handle the NoConnection option during Init #14059

@erezrokah

Description

@erezrokah

Which problem is this feature request solving?

Related to cloudquery/plugin-sdk#1249

If you try to call Init on a destination plugin with NoConnection: true and an nil spec it fails since the destination tries to unmarshal the spec. Instead it should skip initialization like we do in source plugins.

Describe the solution you'd like

Probably we'll need to handle it in each destination like we do with sources, for example

Pull request (optional)

  • I can submit a pull request

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions