Skip to content

feat: declare domain-objects and helpful-errors as peer dependencies #28

Description

@uladkasach

problem

when using declastruct-github with pnpm, direct imports from domain-objects and helpful-errors fail
to resolve due to strict node_modules isolation.

proposed solution

declare domain-objects and helpful-errors as peer dependencies.

rationale

  • api exposes DomainEntity types via DeclaredGithubRepo, etc.
  • recommended pattern uses RefByUnique directly in consumer code
  • UnexpectedCodePathError used in standard getProviders pattern

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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