evo-company / hiku

Library to write servers for GraphQL-like query languages
http://hiku.readthedocs.io
BSD 3-Clause "New" or "Revised" License
60 stars 13 forks source link

Raise TypeError for nonexistent fragment. Add basic isort config #146

Closed slavikovbasa closed 9 months ago

slavikovbasa commented 9 months ago

Fixes queries with non-existent fragments failing with KeyError. Wrapped these with TypeError for correct query validation

slavikovbasa commented 9 months ago

Also replaced setup-pdm action with pip install, cause last pdm version does not support python3.7 🙃 (the version is hardcoded into setup script)

If there is a better solution - I am all for it

kindermax commented 9 months ago

setup-pdm to pip install

it is fine although action has the ability to specify pdm version as well https://github.com/pdm-project/setup-pdm?tab=readme-ov-file#action-inputs