-
Notifications
You must be signed in to change notification settings - Fork 57
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
integration with graphql-sequelize #63
Comments
I will try to take a look. If you could a provide a repro with an example, it would greatly accelerate fixing this. :-) |
well, it's all in private repos. i've just given you access to the most relevant one so you should be able to get to: https://github.com/freecycle/common-hapi-plugins/blob/45fe43e94e3948f2bf6f7c81a8959952407c2ac6/modules/graphql-wrapper.js#L81 |
I will try to take a look soon, thanks for sharing. |
That is all good, the main interesting thing would be to see the schema generation. The error being thrown indicates that the type is not being recognized, have you imported |
Well, I think so. The schema object, when imported in the above file, has the
|
actually the problem appears to be bigger. I just noticed that I also get failures for other queries with errors involving other types. For example: |
I am assuming that with I am not seeing who can be throwing that error. I don't find that string anywhere in the code base. |
yes. without graphql-jit everything is working, though i have performance problems (which is why i'm trying jit) |
I'm having trouble using graphql-jit in an app that also uses graphql-sequelize, it seems because graphql-sequelize defines a custom type
SequelizeJSON
which graphql-jit is not recognizing. In queries that use a where criteria that takes a SequelizeJSON input, I get the following error from compileQuery:Any idea how to avoid this?
The text was updated successfully, but these errors were encountered: