denisart / graphql-query

Complete Domain Specific Language (DSL) for GraphQL query in Python.
https://denisart.github.io/graphql-query/
MIT License
56 stars 6 forks source link

support for simple str list ['123', '456'] and keep backward compatible #39

Closed alon-p closed 1 month ago

alon-p commented 2 months ago

Closes #21

Description

I've updated _render_for_list_str to handle simple list of str like ['123', '345'], ['hello', 'world']. I've made it backward compatible to support all the workarounds that I've found in the tests and also added a few new tests. All the tests seems to pass.

Also, thanks for working on this project!

denisart commented 2 months ago

Hi! Thanks for using graphql-query and for your PR. I will see later

denisart commented 1 month ago

Thanks for your PR. It looks good!