You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@adamisntdead thanks for the feedback! I'm currently refactoring the code base to use TypeScript and will see if I come up with something more elegant for thisTypeHasNoFieldsAndGraphQLDontLikeThat, I initially added that in out of frustration but was always the goal to replace it with something more elegant.
Hey!
Just playing around with this today, and I was really just looking at the schemas being generated until I came across this gem:
I'm going to have to be honest and say I don't really think that's gonna work, funny as it may be:
Can I make two suggestions on how to deal with this?
First, those types usually are just objects with keys, something like this in JSON:
My suggestion would be turn that into a type like:
If that wouldn't work, I would change the initial type to something like:
And just do a
JSON.stringify(...)
and dump it in thatjson
fieldThanks!
The text was updated successfully, but these errors were encountered: