I wanted E4D to help me add a filter to an existing class. I sent the class as part of the request, and it did not do anything with the class or tried to incorporate my filter anywhere.
I was expecting E4D to at least add a battery @auraenabled variable on the filters class. Bonus would be if it had been capable of adding the filtering condition to the dynamic query.
Actual result
It did not do anything with my request - the response did not include battery anywhere. Did the same with chatGPT and it worked like a charm.
Using code builder
Salesforce Extension Version in Code builder: 61.1.2
Salesforce Einstein For Developers Version in Code builder: 0.50.0
Summary
I wanted E4D to help me add a filter to an existing class. I sent the class as part of the request, and it did not do anything with the class or tried to incorporate my filter anywhere.
Steps To Reproduce:
The class is https://github.com/trailheadapps/ebikes-lwc/blob/main/force-app/main/default/classes/ProductController.cls. I passed the instruction "In the next class, add a filter that filters by battery (Battery__c):", followed by the full class pasted.
Expected result
I was expecting E4D to at least add a battery @auraenabled variable on the filters class. Bonus would be if it had been capable of adding the filtering condition to the dynamic query.
Actual result
It did not do anything with my request - the response did not include battery anywhere. Did the same with chatGPT and it worked like a charm.
Using code builder
Salesforce Extension Version in Code builder: 61.1.2
Salesforce Einstein For Developers Version in Code builder: 0.50.0
code-server: v4.18.0
Code: 1.83.1