File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11# spiceflow
22
3+ ## 1.11.1
4+
5+ ### Patch Changes
6+
7+ - Fix support for request to pass schema
8+
39## 1.11.0
410
511### Minor Changes
Original file line number Diff line number Diff line change @@ -66,14 +66,15 @@ import { Spiceflow } from 'spiceflow'
6666// DO NOT declare the app separately and add routes later
6767const app = new Spiceflow ()
6868
69- // Do NOT do this! Adding routes separately like this will lose type safety
69+ // Do NOT do this! Defining routes separately will lose type safety
7070app .route ({
7171 method: ' GET' ,
7272 path: ' /hello' ,
7373 handler() {
7474 return ' Hello, World!'
7575 },
7676})
77+ // Do NOT do this! Adding routes separately like this will lose type safety
7778app .route ({
7879 method: ' POST' ,
7980 path: ' /echo' ,
Original file line number Diff line number Diff line change 11{
22 "name" : " spiceflow" ,
3- "version" : " 1.11.0 " ,
3+ "version" : " 1.11.1 " ,
44 "description" : " Simple API framework with RPC and type safety" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments