-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
[BUG] Regression in browser support of @tsed/core #2480
Comments
Arf…. It’s a problem, I haven’t a way to prevent this regression and clearly I need to shareable utils on core level. :( is it possible to have something that broke the CI if the code isn’t browser compliante? @jojoxd |
You could maybe run a test suite using cypress or playwright against a real browser. Playwright supports jest (jest-playwright), which might play nice with the current test setup. |
Got a solution to for isBuffer: revert code isn’t possible, and my prioritary point is nodejs env. browser env support is a plus. But to avoid future regression, adding integration test using jest-playwright is mandatory. see you |
🎉 This issue has been resolved in version 7.41.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Describe the bug
Hi Romain,
It seems browser-support of
@tsed/core
is broken again.It seems to be broken by this change; edb7624d6 isBuffer
To Reproduce
@tsed/schema
and@tsed/core
.@tsed/schema
getJsonSchema()
on that model.Expected behavior
There should be no error, and I should get my json schema.
Code snippets
No response
Repository URL example
No response
OS
Fedora Core 38 (KDE Spin)
Node version
V8
Library version
v7.39.0
Additional context
Potential fix:
The change in edb7624d6 should be reverted.
The text was updated successfully, but these errors were encountered: