<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Fastify]]></title><description><![CDATA[Fastify]]></description><link>https://forum.exlends.ru/category/67</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 09:02:18 GMT</lastBuildDate><atom:link href="https://forum.exlends.ru/category/67.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 09 Nov 2024 21:22:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Свойство &quot;id&quot; не существует в типе &quot;string | object | Buffer&quot;.]]></title><description><![CDATA[Ссылка не работает
]]></description><link>https://forum.exlends.ru/topic/39/svojstvo-id-ne-sushestvuet-v-tipe-string-object-buffer</link><guid isPermaLink="true">https://forum.exlends.ru/topic/39/svojstvo-id-ne-sushestvuet-v-tipe-string-object-buffer</guid><dc:creator><![CDATA[Dinozaur]]></dc:creator><pubDate>Sat, 09 Nov 2024 21:22:33 GMT</pubDate></item><item><title><![CDATA[Fastify - No Authorization was found in request.headers]]></title><description><![CDATA[Кароче решил проблему, все регистрировалось корректно - это я про регистрацию плагина и прочее.
Вообщем, я забывал передавать в заголовке сам токен когда проверял защищенные роуты
[image: 1731184460889-%D1%81%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0-2024-11-09-%D0%B2-23.34.18.png]
Проблема решена!)
]]></description><link>https://forum.exlends.ru/topic/38/fastify-no-authorization-was-found-in-request-headers</link><guid isPermaLink="true">https://forum.exlends.ru/topic/38/fastify-no-authorization-was-found-in-request-headers</guid><dc:creator><![CDATA[kirilljsx]]></dc:creator><pubDate>Sat, 09 Nov 2024 19:01:41 GMT</pubDate></item><item><title><![CDATA[Проблема с дублированием данных при вызове return вместо reply.send - Fastify]]></title><description><![CDATA[Кароче как оказалось проблема была в preHandler, у меня в роутинге к регистрации юзера была валидация body:
fastifyInstance.post("/users/register", { preHandler: validateCreateUser }, createNewUser);

В итоге я убрал preHandler, а логи валидации перенес в сервисы.
]]></description><link>https://forum.exlends.ru/topic/33/problema-s-dublirovaniem-dannyh-pri-vyzove-return-vmesto-reply-send-fastify</link><guid isPermaLink="true">https://forum.exlends.ru/topic/33/problema-s-dublirovaniem-dannyh-pri-vyzove-return-vmesto-reply-send-fastify</guid><dc:creator><![CDATA[kirilljsx]]></dc:creator><pubDate>Sun, 03 Nov 2024 14:21:21 GMT</pubDate></item></channel></rss>