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
warning.create('FastifyDeprecation','FSTDEP005','You are accessing the deprecated "request.connection" property. Use "request.socket" instead.')
10
+
warning.createDeprecation('FSTDEP005','You are accessing the deprecated "request.connection" property. Use "request.socket" instead.')
11
11
12
-
warning.create('FastifyDeprecation','FSTDEP006','You are decorating Request/Reply with a reference type. This reference is shared amongst all requests. Use onRequest hook instead. Property: %s')
12
+
warning.createDeprecation('FSTDEP006','You are decorating Request/Reply with a reference type. This reference is shared amongst all requests. Use onRequest hook instead. Property: %s')
13
13
14
-
warning.create('FastifyDeprecation','FSTDEP007','You are trying to set a HEAD route using "exposeHeadRoute" route flag when a sibling route is already set. See documentation for more info.')
14
+
warning.createDeprecation('FSTDEP007','You are trying to set a HEAD route using "exposeHeadRoute" route flag when a sibling route is already set. See documentation for more info.')
15
15
16
-
warning.create('FastifyDeprecation','FSTDEP008','You are using route constraints via the route { version: "..." } option, use { constraints: { version: "..." } } option instead.')
16
+
warning.createDeprecation('FSTDEP008','You are using route constraints via the route { version: "..." } option, use { constraints: { version: "..." } } option instead.')
17
17
18
-
warning.create('FastifyDeprecation','FSTDEP009','You are using a custom route versioning strategy via the server { versioning: "..." } option, use { constraints: { version: "..." } } option instead.')
18
+
warning.createDeprecation('FSTDEP009','You are using a custom route versioning strategy via the server { versioning: "..." } option, use { constraints: { version: "..." } } option instead.')
19
19
20
-
warning.create('FastifyDeprecation','FSTDEP010','Modifying the "reply.sent" property is deprecated. Use the "reply.hijack()" method instead.')
20
+
warning.createDeprecation('FSTDEP010','Modifying the "reply.sent" property is deprecated. Use the "reply.hijack()" method instead.')
21
21
22
-
warning.create('FastifyDeprecation','FSTDEP011','Variadic listen method is deprecated. Please use ".listen(optionsObject)" instead. The variadic signature will be removed in `fastify@5`.')
22
+
warning.createDeprecation('FSTDEP011','Variadic listen method is deprecated. Please use ".listen(optionsObject)" instead. The variadic signature will be removed in `fastify@5`.')
23
23
24
-
warning.create('FastifyDeprecation','FSTDEP012','request.context property access is deprecated. Please use "request.routeOptions.config" or "request.routeOptions.schema" instead for accessing Route settings. The "request.context" will be removed in `fastify@5`.')
24
+
warning.createDeprecation('FSTDEP012','request.context property access is deprecated. Please use "request.routeOptions.config" or "request.routeOptions.schema" instead for accessing Route settings. The "request.context" will be removed in `fastify@5`.')
25
25
26
-
warning.create('FastifyDeprecation','FSTDEP013','Direct return of "trailers" function is deprecated. Please use "callback" or "async-await" for return value. The support of direct return will removed in `fastify@5`.')
26
+
warning.createDeprecation('FSTDEP013','Direct return of "trailers" function is deprecated. Please use "callback" or "async-await" for return value. The support of direct return will removed in `fastify@5`.')
27
27
28
-
warning.create('FastifyDeprecation','FSTDEP014','You are trying to set/access the default route. This property is deprecated. Please, use setNotFoundHandler if you want to custom a 404 handler or the wildcard (*) to match all routes.')
28
+
warning.createDeprecation('FSTDEP014','You are trying to set/access the default route. This property is deprecated. Please, use setNotFoundHandler if you want to custom a 404 handler or the wildcard (*) to match all routes.')
29
29
30
-
warning.create('FastifyDeprecation','FSTDEP015','You are accessing the deprecated "request.routeSchema" property. Use "request.routeOptions.schema" instead. Property "req.routeSchema" will be removed in `fastify@5`.')
30
+
warning.createDeprecation('FSTDEP015','You are accessing the deprecated "request.routeSchema" property. Use "request.routeOptions.schema" instead. Property "req.routeSchema" will be removed in `fastify@5`.')
31
31
32
-
warning.create('FastifyDeprecation','FSTDEP016','You are accessing the deprecated "request.routeConfig" property. Use "request.routeOptions.config" instead. Property "req.routeConfig" will be removed in `fastify@5`.')
32
+
warning.createDeprecation('FSTDEP016','You are accessing the deprecated "request.routeConfig" property. Use "request.routeOptions.config" instead. Property "req.routeConfig" will be removed in `fastify@5`.')
33
33
34
-
warning.create('FastifyDeprecation','FSTDEP017','You are accessing the deprecated "request.routerPath" property. Use "request.routeOptions.url" instead. Property "req.routerPath" will be removed in `fastify@5`.')
34
+
warning.createDeprecation('FSTDEP017','You are accessing the deprecated "request.routerPath" property. Use "request.routeOptions.url" instead. Property "req.routerPath" will be removed in `fastify@5`.')
35
35
36
-
warning.create('FastifyDeprecation','FSTDEP018','You are accessing the deprecated "request.routerMethod" property. Use "request.routeOptions.method" instead. Property "req.routerMethod" will be removed in `fastify@5`.')
36
+
warning.createDeprecation('FSTDEP018','You are accessing the deprecated "request.routerMethod" property. Use "request.routeOptions.method" instead. Property "req.routerMethod" will be removed in `fastify@5`.')
37
37
38
-
warning.create('FastifyDeprecation','FSTDEP019','reply.context property access is deprecated. Please use "reply.routeOptions.config" or "reply.routeOptions.schema" instead for accessing Route settings. The "reply.context" will be removed in `fastify@5`.')
38
+
warning.createDeprecation('FSTDEP019','reply.context property access is deprecated. Please use "reply.routeOptions.config" or "reply.routeOptions.schema" instead for accessing Route settings. The "reply.context" will be removed in `fastify@5`.')
39
39
40
40
warning.create('FastifyWarning','FSTWRN001','The %s schema for %s: %s is missing. This may indicate the schema is not well specified.',{unlimited: true})
0 commit comments