ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 58 forks source link

Improvements required in ballerinax/salesforce package #6697

Open aashikam opened 2 months ago

aashikam commented 2 months ago

Description: Tracking improvements required in salesforce connector as I identify areas/bugs that needs fixing during the current revamp sessions.

Screenshot 2024-07-18 at 21 14 07 Screenshot 2024-07-18 at 21 40 58

Haven't event used internally in code where it applies. This is from tests.

Screenshot 2024-07-18 at 21 41 22 Screenshot 2024-07-24 at 07 53 59
Shadow-Devil commented 1 month ago

It would be great to have the following remote functions included in the salesforce package so one can use the salesforce:Client to generate the OAS needed for ballerinax/salesforce.types (See here: https://github.com/ballerina-platform/module-ballerinax-salesforce.types?tab=readme-ov-file#step-2-generate-open-api-specification-for-your-sobjects)

Endpoints to add:

aashikam commented 1 month ago

@Shadow-Devil This is already supported using Ballerina openapi tool. You can do this following this guide: https://github.com/ballerina-platform/module-ballerinax-salesforce.types

We are in the process of bringing this types package inside ballerinax/salesforce. But note that this only includes the basic types and not custom ones. You can follow the README.md to generate your own Salesforce types module which will include the custom objects as well. https://github.com/ballerina-platform/module-ballerinax-salesforce.types