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 crash when function result type contains a constructor property #2941

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Nov 27, 2023

Fixes the second issue in #2934

superjson@2.1.0 added this feature which started throwing on our introspection API where the body contains a jsonschema that was generated from a typescript interface that contains a property named "constructor".

This PR reverts the update and quarantines superjson in renovatebot until fixed (flightcontrolhq/superjson#279).

I tried switching to devalue, but they are not extensible enough to build this on top of.

Adding a test case that breaks one of the backend tests

Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com>
@Janpot Janpot merged commit 0f7795f into mui:master Nov 28, 2023
11 checks passed
@Janpot Janpot deleted the fix-500 branch November 28, 2023 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression A bug, but worse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant