cqframework / cqframework/cqf-tooling

Cannot determine expression for data requirement

Open
#243 0 comments 0 reactions 1 assignee View on GitHub

@brynrhodes is already working on this.

Since Jun 8, 2021.

bug
Dominant language
Java
Stars
22
Forks
26
PR merge metrics
No merged PRs in 30d

Description

When attempting to determine data requirements for a specific library, the following error is encountered:

"Cannot determine expression for data requirement because the source is not an AliasedQuerySource or LetClause"

This can occur when the primary source for the query is a property, so the "retrieve" is a manufactured retrieve to represent the primary source. When this occurs, there is no data type on the retrieve, and the resulting attempt to access the type through the expression of the source fails.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.