pageballoon / headstart

Decoupled GraphQL-driven content management using OctoberCMS
https://octobercms.com/plugin/nocio-headstart
MIT License
7 stars 2 forks source link

Missing scalar Mixed on @whereConstraints #12

Closed dev-dx closed 4 years ago

dev-dx commented 4 years ago

Hi,

I would like to use directive @whereConstraints and scalar Mixed as mentioned on the documentation of lighthouse. But it got error missing Mixed scalar.

how to configure it on the plugin ?

frthjf commented 4 years ago

Hi @dev-dx,

I've never tried that myself but it should work. Did you follow the setup instructions in the Lighthouse documentation? In particular, did you add the Mixed scalar scalar Mixed @scalar(class: "MLL\\GraphQLScalars\\Mixed") to your schema?