Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with fastify 1.0-rc.1 #9

Closed
yamalight opened this issue Feb 12, 2018 · 6 comments
Closed

Incompatible with fastify 1.0-rc.1 #9

yamalight opened this issue Feb 12, 2018 · 6 comments

Comments

@yamalight
Copy link
Contributor

fastify-auth is currently incompatible with 1.0-rc.1, throws the following error:

    fastify-plugin - expected '>=0.13.1' fastify version, '1.0.0-rc.1' is installed

      1 | // npm packages
      2 | const initFastify = require('fastify');
    > 3 | const fastifyAuth = require('fastify-auth');

Updating fastify-plugin should probably fix this, right? Should I send a PR?

@mcollina
Copy link
Member

Unfortunately that commit didn't really fix it. I'll need to get some more work done.

@yamalight
Copy link
Contributor Author

@mcollina does this comment covers all that needs to be done? If that's the case - I can prepare a PR in a few mins

@mcollina
Copy link
Member

mcollina commented Feb 12, 2018 via email

@jsumners
Copy link
Member

The tests are written against an outdated pattern. They are attempting to register routes after the Fastify server is already listening. The tests themselves should be fine, there just needs to be a bit of refactoring done to build the test server correctly, e.g. fastify/fastify-url-data@65b158b.

@mcollina
Copy link
Member

the tests depends on fastify-leveldb being updated as well. I've already done the work, I just need publish rights (but @delvedor is skying somewhere in the mountains).

@mcollina
Copy link
Member

Solved in 0.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants