File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ new Elysia()
44
44
Elysia does a lot to ensure type integrity, and if you pass an entire Context type to a controller, these might be the problems:
45
45
1 . Elysia type is complex and heavily depends on plugin and multiple level of chaining.
46
46
2 . Hard to type, Elysia type could change at anytime, especially with decorators, and store
47
- 3 . Type castigin may cause lost of type integrity or unable to ensure type and runtime code.
47
+ 3 . Type casting may cause lost of type integrity or unable to ensure type and runtime code.
48
48
4 . Harder for [ Sucrose] ( /blog/elysia-10#sucrose ) * (Elysia's "kind of" compiler)* to statically analyze your code
49
49
50
50
We recommended using object destructuring to extract what you need and pass it to ** "Service"** instead.
You can’t perform that action at this time.
0 commit comments