Skip to content

fix: remove go-multierror dependency #673

@aaguiarz

Description

@aaguiarz

Remove the github.com/hashicorp/go-multierror dependency by replacing multierror.Error pattern with a simple []error slice and errors.Join().

File: internal/authorizationmodel/model.go:210–232

Changes:

  • Replace multierror.Error{} with []error slice
  • Replace multierror.Append() calls with append()
  • Use errors.Join() instead of returning multierror.Error
  • This will also drop the indirect dependency github.com/hashicorp/errwrap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Intake

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions