Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: resilient resolve logic of deep bindings [SPA-2110] #671

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

Chaoste
Copy link
Contributor

@Chaoste Chaoste commented Jun 25, 2024

Purpose

When an entry or asset was deleted which is used in a deep-bound value, the app would just crash in preview mode. Similarly to other places in the code, we want here also a less disrupting experience but just ignore broken bindings.

Approach

Similar to other cases covered in gatherAutoFetchedReferentsFromIncludes, we will create a debug message instead of throwing a crashing error.

Copy link

vercel bot commented Jun 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
experience-builder-test-app ✅ Ready (Inspect) Visit Preview Jun 25, 2024 2:53pm

@Chaoste Chaoste marked this pull request as ready for review June 25, 2024 14:53
@Chaoste Chaoste requested review from a team as code owners June 25, 2024 14:53
@Chaoste Chaoste merged commit e45a193 into development Jun 26, 2024
9 checks passed
@Chaoste Chaoste deleted the fix/SPA-2110-resilient-deep-binding branch June 26, 2024 07:41
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