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 plugin recursive loop #18

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

brophdawg11
Copy link
Contributor

Running the plugins at the top gets into an infinite loop if the data has other non-primitives because it re-runs the plugins each time before having a chance to hydrate the non-primitive values. Specifically this broke for me trying to use Promises with a plugin to handle ErrorResponse instances in Remix

@jacob-ebey jacob-ebey merged commit 4df304e into jacob-ebey:main Feb 15, 2024
1 check passed
@brophdawg11 brophdawg11 deleted the fix-plugin-recusive-loop branch February 16, 2024 13:42
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