Comments (6)
Please provide a repo, which can be cloned and investigated.
from fastify-auth.
i realized i missed after()
so now the second half of the ticket is irrelevant and deleted
from fastify-auth.
It is not reproducable, if you dont provide a repository as mvce, as we actually tested this see fastify/fastify#4349
So please provide a repository to investigate it further.
from fastify-auth.
Is v4.2.0 solving this issue?
from fastify-auth.
@Eomm
He explicitly claims that 4.2.0 has the issue. And to be honest i dont understand the issue. It should work out of the box.
We need the mvce.
from fastify-auth.
I am closing this issue because the author do not provide a clear step to reproduce the problem.
import * as starImport from '@fastify/auth'
import defaultImport, { fastifyAuth as namedImport } from '@fastify/auth'
console.log(defaultImport) // Function: fastifyAuth
console.log(namedImport) // Function: fastifyAuth
console.log(starImport) // Module: { default: [Function: fastifyAuth], fastifyAuth: [Function: fastifyAuth] }
My advice would be double check the version you install using npm list @fastify/auth
.
or if you are using bundler, please file an issue in their repo. We are strictly follow how Node Module System
behavior and provide the correct export
syntax.
from fastify-auth.
Related Issues (20)
- default imports do not work with TypeScript HOT 5
- Ability to customize the decorator name HOT 3
- Fastify-auth throws and error after an asynchronous call is completed "TypeError: that.done is not a function" HOT 2
- ChainAlert: npm package release (1.2.0) has no matching tag in this repo
- Use new @fastify org dependencies
- Configure default relation HOT 2
- NPM package update HOT 4
- No overload matches for fastify plugin HOT 1
- Unable to use a Typescript generic for the Params property off of the request HOT 5
- Improvements for composite auth HOT 4
- Typescript bug when used in conjunction with "fastify-type-provider-zod".
- Typescript bug when used in conjunction with "fastify-type-provider-zod". HOT 4
- Type definitions as defined in the route schema get removed when using fastify auth HOT 2
- Extended Composite Auth in #217 is broken HOT 10
- statusCode dirty with relation or
- fastify.auth(functions: fastifyAuth.AuthFunction[]) is missing second parameter in type declaration HOT 3
- New parameter: run all HOT 1
- Provide a way to skip an auth handler HOT 10
- Coverage 100%
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastify-auth.