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
The schema method has been renamed to guard sometime ago. So we should remove that method from showing up on Elysia instance and also update the docs here: https://elysiajs.com/essential/schema#global-schema
What do you see instead?
The schema method is still popping up next to guard, even though we've changed its name to guard.
As shown in the screenshot, schema is not a method, but instead a property of the Elysia instance. Your original expression is not callable/has no call signatures Typescript error was thrown because you were attempting to call a property as if it were a method.
What version of Elysia.JS is running?
latest
What platform is your computer?
MacOS Darwin 23.2.0 x86_64 i386
What steps can reproduce the bug?
What is the expected behavior?
The
schema
method has been renamed toguard
sometime ago. So we should remove that method from showing up on Elysia instance and also update the docs here: https://elysiajs.com/essential/schema#global-schemaWhat do you see instead?
The
schema
method is still popping up next toguard
, even though we've changed its name toguard
.Additional information
Discord thread: https://discord.com/channels/1044804142461362206/1202502724911112242
The text was updated successfully, but these errors were encountered: