Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search to SDK #9

Closed
wants to merge 1 commit into from
Closed

Add search to SDK #9

wants to merge 1 commit into from

Conversation

chaosrealm
Copy link
Contributor

Add search to SDK

@@ -182,6 +182,20 @@ export class Catalog {
}
}

// eslint-disable-next-line @typescript-eslint/no-explicit-any
public async searchDocuments(query: string): Promise<any> {
Copy link
Member

Choose a reason for hiding this comment

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

If we do decide to add this to the SDK we need to add strongly typed output if possible. In general we should never use any unless we have a very good reason.

@chaosrealm
Copy link
Contributor Author

We decided not to add search to SDK for now, so I'll add e2e tests elsewhere.

@chaosrealm chaosrealm closed this Jun 25, 2024
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