-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
questionFurther information is requestedFurther information is requested
Milestone
Description
- Feature
- Bug Request
- Question
First off, awesome work. I started to write my own parser using antlr4ts and the grammar posted by Mulesoft and then (THANK GOD) I came across this pkg. Seems like a really complete implementation.
I do however have a question on how the composeQuery() is suppose to work in regards to relationship fields.
On the field interface, I see the relationshipFields: string[] prop, however, it seems to ignore this array and instead just output whatever is in the text property. Is this intended behavior?
Example:
let qryStr = composeQuery({
"fields":[
{"text":"Name"},
{
"text":"Name",
"relationshipFields":['Account']
}
],
"subqueries":[],
"sObject":"contact"
});
//OUTPUT: "SELECT Name, Name FROM contact"
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested