Skip to content

Conversation

parkerduckworth
Copy link
Member

@parkerduckworth parkerduckworth commented Mar 30, 2023

Make all public classes in submodules importable from client entrypoint.

This allows the following syntax:

import weaviate, { ObjectsBatcher } from 'weaviate-ts-client';

Rather than having to do:

import weaviate from 'weaviate-ts-client';
import ObjectsBatcher from 'weaviate-ts-client/types/batch/objectsBatcher';

etc.

@parkerduckworth parkerduckworth merged commit 5316c92 into main Mar 30, 2023
@parkerduckworth parkerduckworth deleted the export-public-classes branch March 30, 2023 23:36
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.

1 participant