Skip to content

Fix invalid reference logic.#83

Merged
FragmentedPacket merged 2 commits intomainfrom
may-202508-fix-82-invalid-reference
Aug 26, 2025
Merged

Fix invalid reference logic.#83
FragmentedPacket merged 2 commits intomainfrom
may-202508-fix-82-invalid-reference

Conversation

@FragmentedPacket
Copy link
Copy Markdown
Contributor

  • Moved 'build_mapping' to utils.py since it's used in two different spots.
  • Added exception raising if no schema_element is found and properly report it.

The newly returned error message looks like:

Error: An error occurred while loading IPFabricsync: Schema mapping for model 'InfraNOSVersion' not found when attempting to resolve reference for os_version.

…ots. Added exception raising if no schema_element is found and properly report it.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Aug 26, 2025

Deploying infrahub-sync with  Cloudflare Pages  Cloudflare Pages

Latest commit: 980f3ca
Status: ✅  Deploy successful!
Preview URL: https://0fd02cfa.infrahub-sync.pages.dev
Branch Preview URL: https://may-202508-fix-82-invalid-re.infrahub-sync.pages.dev

View logs

@FragmentedPacket FragmentedPacket merged commit 3755601 into main Aug 26, 2025
15 checks passed
@FragmentedPacket FragmentedPacket deleted the may-202508-fix-82-invalid-reference branch August 26, 2025 22:45
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.

2 participants