crossplane-contrib / crossplane-contrib/function-hcl

Obscure error message when the collection in a for_each cannot be evaluated

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

which makes it really hard to debug anything.

Plus it is not clear that incomplete values should cause a hard error. Perhaps we just ignore the collection until the value is complete.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by reproducing a for_each whose collection cannot yet be evaluated, then trace the collection-evaluation error path and compare its current message with related errors. Done requires an agreed behavior for incomplete values and an error that makes the failure easier to diagnose.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.