You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the regression has not already been reported
Last working version
4.20
Stopped working in version
4.3.0
Node.js version
20.x
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
💥 Regression Report
Every compiled schema contains a stringified version of the schema. Issue is when the schema is huged.
Today it almost kills the advantage of compilation.
Since only rounding seems to be used in the state, a workaround for me was to make a patch on fast-json-stringify using yarn patch, making the following change in serializer.js :
Prerequisites
Last working version
4.20
Stopped working in version
4.3.0
Node.js version
20.x
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
💥 Regression Report
Every compiled schema contains a stringified version of the schema. Issue is when the schema is huged.
Today it almost kills the advantage of compilation.
It comes from the bump to v5.7.0 of
fast-json-stringify
.And to be specific if comes from : fastify/fast-json-stringify#617.
It seems that this getState() of the serializer is never used.
Steps to Reproduce
Expected Behavior
Why have this
serializerState
? Is does not seem to be used at all ?The text was updated successfully, but these errors were encountered: