urql-graphql / urql-devtools

A tool for monitoring and debugging urql during development
https://formidable.com/open-source/urql/docs/advanced/debugging/#devtools
MIT License
257 stars 11 forks source link

[Runtime error]: Input Object type X must define one or more fields (Hasura) #400

Open juhaelee opened 1 year ago

juhaelee commented 1 year ago

About

I'm trying to use the urql debugger (my backend is using hasura) and I'm getting the following errors:

Error: Input Object type teammembers_order_by must define one or more fields.

Type teammembers must define one or more fields.

Input Object type questiontags_stream_cursor_value_input must define one or more fields.

Input Object type teammembers_stream_cursor_value_input must define one or more fields.

I'm not sure where the questiontags_stream_cursor_value_input and the teammembers_stream_cursor_value_input is coming from since I'm not using subscriptions at all and those appear to be related to Hasura subscription queries.

Stack trace

  Error: Input Object type teammembers_order_by must define one or more fields.

Type teammembers must define one or more fields.

Input Object type questiontags_stream_cursor_value_input must define one or more fields.

Input Object type teammembers_stream_cursor_value_input must define one or more fields.
    at g (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:328838)
    at l (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:325443)
    at chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:401434
    at He (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:401650)
    at $e (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:401237)
    at chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1149767
    at h (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1144398)
    at Ps.<anonymous> (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1146172)
    at chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:183984
    at Ps.setOption (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:260272)

Additional info

environment version
browser Chrome 69
urql 0.0.0
urql devtools 0.0.0
@urql/devtools 0.0.0