-
Notifications
You must be signed in to change notification settings - Fork 10
feat: Integrations catalog #553
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
base: main
Are you sure you want to change the base?
Conversation
Bug Report
Comments? Email us. |
Your mrge subscription is currently inactive. Please reactivate your subscription to receive AI reviews and use mrge. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
} | ||
const res = await connector.listIntegrations({}) | ||
return { | ||
items: res.items.map((item) => ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unsafe object access in the listIntegrations response handling. The code assumes res.items exists and is an array without validation. If the response is malformed or res.items is undefined, this will cause a runtime error. Should add proper type validation and error handling for the response.
React with 👍 to tell me that this comment was useful, or 👎 if not (and I'll stop posting more comments like this in the future)
😱 Found 1 issue. Time to roll up your sleeves! 😱 🗒️ View all ignored comments in this repo
|
Pull Request Feedback 🔍
|
Looks good to me! |
Bug Report
Comments? Email us. |
9bb554e
to
9ea7a32
Compare
Bug Report
Comments? Email us. |
9ea7a32
to
55a592b
Compare
Bug ReportPlaid Connector: Limited Country Code Support|Medium|When listing plaid integrations only US institutions are listed.|The Comments? Email us. |
55a592b
to
086edc6
Compare
Bug Report
Comments? Email us. |
Bug Report
Comments? Email us. |
441d048
to
9d283d5
Compare
Bug Report
Comments? Email us. |
CodeAnt-AI Description
listConnectorIntegrations
endpoint to theintegrationRouter
, enabling clients to retrieve a list of integrations for a specified connector, with OpenAPI documentation and robust input/output validation.listIntegrations
method, ensuring consistent API responses.This PR introduces a new API endpoint for listing connector integrations, complete with OpenAPI metadata and validation. It also adds thorough tests to ensure the endpoint works as intended, improving the API's extensibility and reliability.
Changes walkthrough
integration.ts
Add listConnectorIntegrations endpoint to integrationRouter with
OpenAPI metadata
packages/api-v1/trpc/routers/integration.ts
integrationRouter
with alistConnectorIntegrations
endpoint.
description, and summary.
both connectors with and without a
listIntegrations
method.validation.
integration.test.ts
Add tests for listConnectorIntegrations endpoint in integrationRouter
packages/api-v1/trpc/routers/integration.test.ts
listConnectorIntegrations
endpoint.response structure and content.
endpoint calls.
💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.