Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Some fixes for detecting external refs #723

Merged
merged 1 commit into from
May 20, 2024
Merged

Conversation

anderseknert
Copy link
Member

The following cases are now covered:

f(_) := r

f(_) := {"r": r}

And variations thereof.

Fixes #719

Although it doesn't fix the func_2 example there, this is about as much we can do without some major effort.. so I'm not sure it's worth keeping that issue open as I doubt we'll get there anytime soon.

The following cases are now covered:

```rego
f(_) := r

f(_) := {"r": r}
```
And variations thereof.

Fixes #719

Although it doesn't fix the `func_2` example there, this is about as
much we can do without some major effort.. so I'm not sure it's worth
keeping that issue open as I doubt we'll get there anytime soon.

Signed-off-by: Anders Eknert <anders@styra.com>
Copy link
Member

@charlieegan3 charlieegan3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@anderseknert anderseknert merged commit 85411cf into main May 20, 2024
3 checks passed
@anderseknert anderseknert deleted the external-ref-fixes branch May 20, 2024 12:35
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
The following cases are now covered:

```rego
f(_) := r

f(_) := {"r": r}
```
And variations thereof.

Fixes StyraInc#719

Although it doesn't fix the `func_2` example there, this is about as
much we can do without some major effort.. so I'm not sure it's worth
keeping that issue open as I doubt we'll get there anytime soon.

Signed-off-by: Anders Eknert <anders@styra.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistencies with external-reference warning
2 participants