graphql-iso-date
graphql-iso-date copied to clipboard
GraphQL 15 support
I just begin a tutorial with graphql that use your lib, they use [email protected] so I had to do npm i -force
to install your lib since you don't allow GraphQL 15, is there a reason or will that be possible soon ?
Could you link the tutorial?
https://github.com/prisma/prisma-examples/tree/latest/typescript/graphql
Same here, I get this warning:
... with version 15.5.0, which doesn't satisfy what graphql-iso-date requests
@Pompedup @josueadelima check out this commit and the comment at the top of the repo here:
The scalars defined in this repository have moved to the [GraphQL-scalars](https://www.graphql-scalars.dev) repository where they will be maintained.
Do you think that you would help report and update the tutorial to use the updated repo?
@excitement-engineer this is still a problem
Just a bump. Support for GraphQL 15 would be great.
I am encountering these problems too and seens to me the library is discontinued.
If the project owner does not object, I will create a new version of this lib using this as a base, but already with graphql 15 support
@jhomarolo why not use graphql-scalars
many date related scalars?
I just used a "GraphQLString" in the end to handle ISODate (while using a "DataTypes.DATE" in Sequelize) - this combination gives me all I need. Maybe that helps someone.
@jhomarolo why not use
graphql-scalars
many date related scalars?
There's actually a potential difference of behavior between SSR and CSR when using that: https://github.com/Urigo/graphql-scalars/discussions/957
Same goes for 16.3.0.
Issues with typescript
Type '{ type: GraphQLScalarType; }' is not assignable to type 'GraphQLFieldConfig<any, any, any>'. Types of property 'type' are incompatible. Type 'GraphQLScalarType' is not assignable to type 'GraphQLOutputType'.
Any update? This is a blocker for me.
@geosigno move to https://github.com/Urigo/graphql-scalars. This project is discontinued according to the readme.