Skip to content

fix for PostgreSQL domain definition in HCL can fail creation due to …#3672

Open
bramhanandlingala wants to merge 1 commit intoariga:masterfrom
bramhanandlingala:master
Open

fix for PostgreSQL domain definition in HCL can fail creation due to …#3672
bramhanandlingala wants to merge 1 commit intoariga:masterfrom
bramhanandlingala:master

Conversation

@bramhanandlingala
Copy link
Copy Markdown

…a missing dependency #3671

fix applied for this is
Update parseHCLPaths to scan all files (including nested directories).
Parse all files, then build a dependency graph based on references (e.g., function calls in domains).
Topologically sort files and load them in dependency order.

Recursively collect all .hcl files.
After parsing, analyze references to build a dependency graph.
Sort files by dependency and parse in that order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant