Skip to content

Conversation

@augustas1
Copy link
Collaborator

@augustas1 augustas1 commented Nov 28, 2024

Unnest exports to fully leverage IDE autoimports.

So you can just do:

pnpm add weaviate-client

And type the code you want, leveraging IDE autocomplete and autoimport, without the need to deal with imports manually:

image

Additional changes:

  • keep default export to have backwards-compatibility
  • add direct dependencies (rather than using them transitively)
  • remove duplicate devDependencies

Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@augustas1 augustas1 requested a review from tsmith023 November 28, 2024 09:58
@augustas1 augustas1 merged commit 0eb5e12 into weaviate:main Nov 28, 2024
11 checks passed
@augustas1 augustas1 deleted the unnested-exports branch November 28, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants