nfroidure / whook

Build strong and efficient REST web services.
https://slides.com/nfroidure/introducing-whook
MIT License
31 stars 7 forks source link

fix(types): fix types for TypeScript 4.8 #138

Closed nfroidure closed 2 years ago

nfroidure commented 2 years ago

The new TypeScript types are leading to problems with sub libraries. Also had to update the GraphQL schemas.

BREAKING CHANGE: Updated apollo-server to the latest major version. It led to some changes in the way directives are provided into GraphQL fragments.

fix #121

nfroidure commented 2 years ago

@Oupsla for the GraphQL changes, there is 2 things to check:

That said, cannot merge right now since waiting for:

3 import type { IExecutableSchemaDefinition } from '@graphql-tools/schema';