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

Clean up Cosmos DB types #127

Merged
merged 1 commit into from
Sep 8, 2023
Merged

Clean up Cosmos DB types #127

merged 1 commit into from
Sep 8, 2023

Conversation

ejizba
Copy link
Contributor

@ejizba ejizba commented Aug 28, 2023

I'm working on updating the docs for Cosmos DB here and noticed a few things that we need to clean up:

  1. I originally thought the trigger & input options had a lot more in common, but turns out there's several differences. I've separated the two interfaces instead of one extending the other.
  2. An input binding and output binding can use a single document or an array of documents, so we should use unknown for the type instead of assuming it's an array.

@ejizba ejizba merged commit 6f97cfd into v4.x Sep 8, 2023
6 checks passed
@ejizba ejizba deleted the ej/cosmosClean branch September 8, 2023 20:20
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