sgqlc
sgqlc copied to clipboard
Simple GraphQL Client
Hello! Great lib, really great, thank you for your work! Eventually I wanted to update my api adapter and during codegen operation it fails ``` $sgqlc-codegen schema api_schema.json api_schema.py Traceback...
First of all, I just want to thank the maintainers of sgqlc for making such a great and useful library like sgqlc. It works very well out of the box...
Hi. Having a specific issue inserting data where one of the fields is jsonb (or json). I keep getting the error: ``` {'errors': [{'extensions': {'path': '$.query', 'code': 'validation-failed'}, 'message': 'not...
In the schema we use has quite a lot of nested objects ex. query { devices { id name inputs { id type inputSettings { voltage temperature resolutionSettings { ......
Well, that might be a good idea to sort types in the file but sorting by name creates a mess with dependencies as was found in #189 fixes #189
I'm getting the following error when I try to generate the schema for the Datahub GraphQL API: ``` File "/*******/bin/sgqlc-codegen", line 8, in sys.exit(main()) File "/*******/lib/python3.9/site-packages/sgqlc/codegen/__init__.py", line 130, in main...
Support directives, such as: ```graphql query aQuery($ignoreX: Boolean) { x @skip(if: $ignoreX) } ```
Although not part of the standard, several server implementations support file uploads via multipart forms fields. Although both urllib and requests can accept files={} parameters, sgqlc endpoint wrappers do not...
The first query (boolean literal) fails to generate with `ValueError: not enough values to unpack (expected 3, got 1)` while the second form succeeds: FAILS: ``` query MyQuery { things(where:...
I just tried out sqlgc and I'm able to build the queries just fine. But if I use the generated classes for parsing the response, the IDE is utterly confused...