DynamicsValue / fake-xrm-easy

FakeXrmEasy: The Test Automation Framework for the Power Platform / Dataverse
https://dynamicsvalue.github.io/fake-xrm-easy-docs/why/
Other
26 stars 12 forks source link

New FetchXml enhancements and previously undocumented features #141

Open jordimontana82 opened 7 months ago

jordimontana82 commented 7 months ago

This issue is a container for several FetchXml improvements that would probably be too big to address in a single issue, so it's a placeholder for investigating them, and will likely be implemented throughout several releases.

Mark has a great resource summarizing some of them: https://markcarrington.dev/2024/03/08/new-fetchxml-features-and-documentation/

The official FetchXml documentation can be found here: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/overview

Some of the new features that need investigation are:

Extra Llink operators

FXE currenly supports inner and outer (LEFT OUTER) joins. Since the query engine was implemented several other link types have been introduced.

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/reference/link-entity#link-type-options https://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/join-tables?tabs=fetchxml#use-exists-or-in-link-types

Order By

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/order-rows

Cross-Table column comparisons

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/fetchxml/filter-rows?tabs=fetchxml#cross-table-comparisons

Other

Some other areas that need investigation to see if they are implemented:

otressler commented 2 weeks ago

Hey @jordimontana82 ,

we are currently developing a plugin that makes heavy use of the Exists query operator. Unfortunately, it doesn't seem like Fake XRM Easy supports unit tests for these queries.

Exception occurred: The join operator Exists is currently not supported. .
If you are using FakeXrmEasy under a commercial context and have an appropiate commercial license 
for this use, please raise an issue via our GitHub issue tracker at 
https://github.com/DynamicsValue/fake-xrm-easy or, else, please reach out via 
support@dynamicsvalue.com so we can prioritise it.

We have booked several licenses for our company. Is there any ETA on when this feature is gonna land?

con-cs commented 1 week ago

Exists operator would be highly recommended. 👍