Open piyushvaddoria opened 1 year ago
Thanks for opening this issue @piyushvaddoria, this is a Lightning Data Services issue.
@scarrawaySF @jodarove could you take a look when you get a chance?
I'm seeing the same issue with a similar anti-join. I guess it must be related, but in case it's helpful, here's a quick snippet of what I'm trying to do that is giving the same error:
inq: { Opportunity: { CloseDate: {gte: {range: {last_n_days: 365}}}} }
@gjdickens This issue is unrelated to the LWC open-source framework (this repo). You may get a more expedient solution to this problem by opening a Salesforce Stack Exchange question or a Salesforce case.
Description
I am trying to run a GraphQL query using a semi-join query with a date time filter on the CreatedDate field. The query is saved but when I run the component it's throwing an error.
Steps to Reproduce
Expected Results
Data from query
Actual Results
error graphqlQueryResult [{"errorType":"adapterError","error":[{"extensions":{"ErrorType":"DataFetchingException"},"locations":[{"column":7,"line":67}],"message":"Exception while fetching data (/uiapi/query/ObjectBc) : invalid value of type; value must be null, a primitive type (String|ID|Boolean|Integer|Long|Double|Decimal|Date|Datetime), or implement HasSOQL interface","paths":["uiapi","query","ObjectB c"]}]}]
Browsers Affected
All
Version
Possible Solution
Additional context/Screenshots When I change the ObjectAc filter in the ObjectBc query to String filed it's working as expected.